Skip to content
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

[PKCE] allowpublic client option for grant_type authorization_code using PKCE with S256 method #1888

Merged
merged 15 commits into from
Jun 21, 2022

Conversation

strehle
Copy link
Member

@strehle strehle commented May 13, 2022

Info: allowpublic is an optional flag similar to autoapprove to define behaviour in oauth2 flow.
The option allow to omit client_secret parameter and/or client authentication in grant_type authorization_code.
Escpecially mobile scenarios showed the need for such option, because other OpenID providers allow in meanwhile similar
use cases.

The needed configuration for the clients can be passed via

Clients with allowpublic = true can omit client authentication completly (authorization or client_secret) but the PKCE flow with code_challange_method=S256 is need in the authorization_code flow

Info: allowpublic is an optional flag similar to autoapprove to define behaviour in oauth2 flow.
The option allow to omit client_secret parameter and/or client authentication in grant_type authorization_code.
Escpecially mobile scenarios showed the need for such option, because other OpenID providers allow in meanwhile similar
use cases.
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/182174943

The labels on this github issue will be updated when the story is started.

@strehle strehle changed the title [WIP] allowpublic client option corresponding to autoapprove [WIP] allowpublic client option for grant_type authorization_code using PKCE with S256 method May 17, 2022
strehle and others added 3 commits May 17, 2022 09:15
@strehle strehle changed the title [WIP] allowpublic client option for grant_type authorization_code using PKCE with S256 method [PKCE] allowpublic client option for grant_type authorization_code using PKCE with S256 method May 17, 2022
@strehle strehle added the feature proposal Propose a feature label May 17, 2022
@strehle strehle linked an issue May 17, 2022 that may be closed by this pull request
@strehle
Copy link
Member Author

strehle commented May 17, 2022

@strehle strehle modified the milestones: icebox, 75.21.0 May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Accepted the issue feature proposal Propose a feature
Projects
Development

Successfully merging this pull request may close these issues.

Receiving auth token in Authorization Code Grant with PKCE
2 participants