-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
How to config login page with separation of front-end and backend? #474
Comments
just replace the CUSTOM_CONSENT_PAGE_URI with absolute address which like https://www.baidu.com
also see my project: NOTE: Lines 225 to 235 in c7f01f0
|
Oh my god. I'm sorry. I need config login page, not consent page. |
@littlefisher666 there is a same way:
MOST IMPORTANT:
the loginPage's argument is string. |
@xialugui I have another question. Why create two bean with SecurityFilterChain. One in |
@littlefisher666 there is no need to create two |
Thank you. I'm waiting for you. |
@littlefisher666 done,see this folder and the code |
@xialugui perfect. I will have a look. |
@xialugui Thanks for all your comments! Thanks for getting in touch @littlefisher666, but it feels like this is a question that would be better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements. |
There is a sample to config the consent page, but I want to know how to config the consent page with separation of front-end and backend.
spring-authorization-server/samples/boot/oauth2-integration/authorizationserver-custom-consent-page/src/main/java/sample/config/AuthorizationServerConfig.java
Lines 56 to 74 in c7f01f0
The text was updated successfully, but these errors were encountered: