-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Implement authorization_code AuthenticationProvider #68
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
@jgrandja We had discussed the ability to allow an implementation to enhance the generated access token response, but I don't see that described above in the |
@jgrandja Is it possible to update the
|
@dfcoffin I updated the issues to cross reference the dependent issues. Customizing the token response will come in a later iteration. The implementation requirements are for this iteration only. We will likely need to go through 3 or more iterations to fully realize the |
@jgrandja Thanks for the update. After reading several of your PR review comments, I'm getting a better feeling for the overall project plan and code development approach. Is this issue still available? |
@dfcoffin This issue is available. Would you like to take it? |
@jgrandja Yes. |
Thanks @dfcoffin. The issue is yours. |
@jgrandja I'm a bit confused as to which contributor is working on this issue. I reviewed the numerous comments submitted in the last 24 hours. It seems other contributors have implemented some of the outlined packages and methods (i.e., Authentication Provider) as components of other assigned issues. What are your suggestions so I am not duplicating code already developed by other contributors, although not part of their assigned issues? Perhaps when a step covers multiple issues, all relevant issues need to be referenced in the issue description? Is there a means contributors can better collaborate than posting comments? |
When an issue is assigned, we assign the generic
Which issue are you referring to? The |
@dfcoffin I updated a couple of the points in the main issue description. Hopefully that clarifies things? This issue should implement the following:
|
Looking at this issue and #67 there is some confusion in my mind. This issue deals with creating a Additionally, the class So far from what I have seen, the common pattern is that Filter orchestrates between various components which perform single operation like coverter, matcher, generator etc to achieve a desired business function. This class performs two things which seems a bit odd to me. |
@dfcoffin How is the PR coming along? Do you have any questions or need help with anything? |
@jgrandja Unfortunately due to other work-related projects I haven't had a chance to make much progress. If I am holding up moving to the next set of objectives, I'm happy to let someone with more time tackle this issue. |
No worries @dfcoffin. Thanks for the offer @paurav-munshi. Let's get your current PR merged first and then we can look at other tasks. I will likely take this one on as I'm striving to get the first iteration done for authorization code grant sometime next week. |
The
OAuth2AuthorizationCodeAuthenticationProvider
is responsible for authenticating the authorizationcode
parameter.Implementation Requirements
OAuth2TokenEndpointFilter
Implement Token Endpoint #67 indirectly calls thisAuthenticationProvider
by passing inOAuth2AuthorizationCodeAuthenticationToken
RegisteredClientRepository
Implement Client Registration Model / Repository #40 should be used to validate theclient_id
parameter if the client was not previously authenticatedOAuth2AuthorizationService
Implement Authorization Model / Service #43 should be used to lookup theOAuth2Authorization
using thecode
parameteraccessTokenGenerator
should be used to generate an opaque access token. NOTE: This will later be re-factored to generate a JWTOAuth2AuthorizationCodeAuthenticationProvider
in aOAuth2AccessTokenAuthenticationToken
class
andpublic
methodsSpecification References
3.1. Token Endpoint
4.1. Authorization Code Grant
4.1.3. Access Token Request
4.1.4. Access Token Response
The text was updated successfully, but these errors were encountered: