-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implict flow not supported #6
Comments
Hello Indeed it's made to work with an Authorization grant as the implicit flow is deprecated(https://oauth2.thephpleague.com/authorization-server/implicit-grant/). I'll take a look if I can provide a way to support it (If you want you can also submit a PR). |
There is something you can do without changing the package: It's adding a custom grant type copying the implicit. To register the grant type, you can use a ServiceProvider (either reuse one or create a new one)
|
Issue previously raised in thephpleague/oauth2-server#1374
When I use the authorisation code grant, this works as expected.
However, when I try to do an implict flow by setting
response_type=token id_token
orresponse_type=id_token
, the server always rejects the request because the following check does not match the request:https://github.com/thephpleague/oauth2-server/blob/ab7714d073844497fd222d5d0a217629089936bc/src/Grant/ImplicitGrant.php#L105-L109
Are there any recommended ways to bypass this issue?
The text was updated successfully, but these errors were encountered: