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

Revisit OAuth 2.0 Client Documentation #13090

Open
1 task
Tracked by #12508
jzheaux opened this issue Apr 24, 2023 · 2 comments
Open
1 task
Tracked by #12508

Revisit OAuth 2.0 Client Documentation #13090

jzheaux opened this issue Apr 24, 2023 · 2 comments
Assignees

Comments

@jzheaux
Copy link
Contributor

jzheaux commented Apr 24, 2023

@jzheaux jzheaux mentioned this issue Apr 24, 2023
11 tasks
@jzheaux jzheaux changed the title OAuth 2.0 Client Revisit OAuth 2.0 Client Apr 24, 2023
@jzheaux jzheaux changed the title Revisit OAuth 2.0 Client Revisit OAuth 2.0 Client Documentation Apr 24, 2023
@BingChunMoLi
Copy link

custom AuthorizationRequestRepository

  • Document missing OAuth2LoginAuthenticationFilter set AuthorizationRequestRepository
                http.oauth2Client(oauth2 -> oauth2
                        .authorizationCodeGrant(codeGrant -> codeGrant
                                .authorizationRequestRepository(this.authorizationRequestRepository())
                        )
                )
                .oauth2Login(builder -> builder.authorizationEndpoint().authorizationRequestRepository(this.authorizationRequestRepository())).build();

@BingChunMoLi
Copy link

Change to lambda

                http.oauth2Client(oauth2 -> oauth2
                        .authorizationCodeGrant(codeGrant -> codeGrant
                                .authorizationRequestRepository(this.authorizationRequestRepository())
                        )
                )
               .oauth2Login(oauth2 -> oauth2
                        .authorizationEndpoint(endpoint-> endpoint
                                .authorizationRequestRepository(this.authorizationRequestRepository())
                        )
                ).build();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants