-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Implement Client Authentication #39
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
Comments
Can I work on this one? |
Thank you @pkostrzewa. The issue is yours. |
@paurav-munshi Please see my comment |
Please continue. The goal of #64 was to flush out the design for the |
The client must authenticate when calling the authorization server's token endpoint.
The
OAuth2ClientAuthenticationFilter
should be implemented as aFilter
. The initial implementation should support HTTP Basic only.Implementation Requirements
Filter
should process requests for the (default) path/oauth2/token
and if HTTP Basic credentials are available in the requestOAuth2ClientAuthenticationToken
should be passed to theAuthenticationManager
AuthenticationManager
should be composed ofOAuth2ClientAuthenticationProvider
(in a later story)OAuth2ClientAuthenticationProvider
should use theRegisteredClientRepository
Implement Client Registration Model / Repository #40 to look up and validate the client credentialsRegisteredClient
should be returned in a newOAuth2ClientAuthenticationToken
if the authentication succeedsFilter
should save theOAuth2ClientAuthenticationToken
in theSecurityContext
class
andpublic
methodsSpecification References
2.3. Client Authentication
3.1. Token Endpoint
4.1. Authorization Code Grant
4.1.3. Access Token Request
The text was updated successfully, but these errors were encountered: