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
When requesting scopes with the Apple provider -- there's some bugs with the current adapter:
You must set response_mode=form_post on the authorization call
Accept a POST to /callback and parse the code and state from form data
Name/email are only returned the first time the user goes through the flow, they are added as part of the /callback formdata with the "user" key with the stringified JSON payload
Additionally, the user info could be added to the raw tokenset object. Otherwise I'm not sure how the base OAuth2 adapter API should look (do other providers do things like this?)
The text was updated successfully, but these errors were encountered:
- Extend OAuth2 adapter to support form_post response mode
- Add POST callback handler for form data
- Include first-time user info in tokenset
- Make form_post support generic for other providers
Fixes#82
Co-Authored-By: [email protected] <[email protected]>
When requesting scopes with the Apple provider -- there's some bugs with the current adapter:
"form_post" response mode is actually part of the spec, so it could be implemented with the base oauth2 adapter, although I'm not sure how many other providers would use this. https://openid.net/specs/oauth-v2-form-post-response-mode-1_0.html
Additionally, the user info could be added to the raw tokenset object. Otherwise I'm not sure how the base OAuth2 adapter API should look (do other providers do things like this?)
The text was updated successfully, but these errors were encountered: