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
We are slowly migrating to new instance of OAuth server. The old version is still in use, but I’m gonna switch it off soon. There are some (simple) changes that you should done:
Change URL of the authorization endpoint and the token endpoint:
Make that social.backends.oauth passes client_id and client_secret using Authorization header (as Authorization: Basic base64(<client_id>:<client_secret>)) and not in the request’s body (it’s not recommended by RFC and allowed anymore); see this page for more information.
Use new userinfo endpoint instead of tokeninfo endpoint to obtain username of the user who authorized the token:
We are slowly migrating to new instance of OAuth server. The old version is still in use, but I’m gonna switch it off soon. There are some (simple) changes that you should done:
https://auth.fit.cvut.cz/oauth/oauth/authorize
→https://auth.fit.cvut.cz/oauth/authorize
(fitauth:7),https://auth.fit.cvut.cz/oauth/oauth/token
→https://auth.fit.cvut.cz/oauth/token
(fitauth:8).social.backends.oauth
passes client_id and client_secret using Authorization header (asAuthorization: Basic base64(<client_id>:<client_secret>)
) and not in the request’s body (it’s not recommended by RFC and allowed anymore); see this page for more information.https://auth.fit.cvut.cz/oauth/api/v1/tokeninfo?token=<access_token>
→https://auth.fit.cvut.cz/oauth/userinfo
(Authorization: Bearer <access_token>
) (fitauth:22),username
(instead ofuser_id
) (fitauth:10).The text was updated successfully, but these errors were encountered: