-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Not able to connect Spring OAuth2 Authorization Server with Client #5946
Comments
@alexcibotari The reason you're getting the You need to assign a Host name for either the Authorization Server or Client App (or both) if running on localhost. Try that and let me know how it goes. |
@alexcibotari Did my suggested solution work? Please let me know so we can close this issue off. Thanks. |
@jgrandja , I will check next days. We can close the issue. if something appear I will reopen or open another |
Ok sounds good. |
Hello , I am also facing the similar problem failed: org.springframework.security.oauth2.core.OAuth2AuthenticationException: [authorization_request_not_found] Here are the details - example.com/app-name/ --> We are using kubernetes, 2 pods (Spring Security Oauth2.0 OpenId connect), randomly we are getting the following error. org.springframework.boot spring-boot-starter-security org.springframework.security spring-security-config org.springframework.security spring-security-oauth2-clientI think it is happening bcs of session cookie, not sure how to fix this. Please suggest Here are the logs. 2020-11-11 18:32:12.767 DEBUG 1 --- [nio-8080-exec-9] .s.o.c.w.OAuth2LoginAuthenticationFilter : Request is to process authentication org.springframework.security.oauth2.core.OAuth2AuthenticationException: [authorization_request_not_found] 2020-11-11 18:32:12.841 DEBUG 1 --- [nio-8080-exec-9] .s.o.c.w.OAuth2LoginAuthenticationFilter : Updated SecurityContextHolder to contain null Authentication |
I am having a similar problem, I am able to login via username and password
|
@alexcibotari I have checked the session store on redis and the browser uses the same cookie with the same session id when routing to my oauth auth token request .. throws the error and never reaches the access token request. |
Hi I am also facing the same issue. But in mine case its got pass when I am running the UI on https://localhost:3000 and server on https:/localhost:443. but while running the UI on same https://localhost:3000 but server on dev URL like https://dev_url/ |
Solved this problem? I also met |
|
Hello,
I use Spring Boot 2.1.0.M4
I have Authorization Server on port 9090 with next configuration :
AuthorizationServerConfiguration
and Client on 8080
application.yml
SecurityConfig
Steps
Actual result : error [authorization_request_not_found]
Expected result : Successful Authentication and display of secured data
LOG
The text was updated successfully, but these errors were encountered: