You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for the implicit grant flow is incorrect and it is unclear how to use this crate for the implicit grant flow. The implicit grant flow does not use a client secret, yet the example in the doc includes one. The implicit grant flow also DOES require a redirect uri, but the example does NOT include one. I would submit a PR to fix the doc, but I'm struggling to figure out how to use this crate for this flow.
The text was updated successfully, but these errors were encountered:
The implicit grant flow does not use a client secret, yet the example in the doc includes one.
Ah yes, good catch. The secret doesn't get used for anything, but it shouldn't be part of the example.
The implicit grant flow also DOES require a redirect uri, but the example does NOT include one.
No, the redirect_uri is optional. If omitted, the server should use the redirect URI previously configured for use with the provided client ID.
In any case, if you look at the docs beyond the examples, you'll see a set_redirect_uri method for this purpose. The examples are intended as a starting point; not a replacement for referencing the complete API documentation.
The documentation for the implicit grant flow is incorrect and it is unclear how to use this crate for the implicit grant flow. The implicit grant flow does not use a client secret, yet the example in the doc includes one. The implicit grant flow also DOES require a redirect uri, but the example does NOT include one. I would submit a PR to fix the doc, but I'm struggling to figure out how to use this crate for this flow.
The text was updated successfully, but these errors were encountered: