Open aliak00 opened 6 years ago
authorization_code
works, but you won't get back a refresh token, unless you specify scope=offline_access
during the authorization flow.
Will need to look into how that is handle on things like account pages, and other flows.
Better to wait till oauth service supports everything before starting or this'll be a half implementation.
After implementation. Must make sure the following scenarios work:
So, ok, the x-oidc header should only be sent to endpoints that handle it, which is only
oauth/token
And then only for grant types that is supported in the oauth service
client_credentials
, yesauthorization_code
, not sure but think sopassword
, norefresh_token
, yesNew value:
X-OIDC: v1
for the grants that are supported by oauth service.