Thank you so much JOE.. But getting problem when i am calling through simple proxy in react application it still redirecting to server side base url . can you suggest how to solve this
Do you have a tutorial for Auth Server with Spring Security 5 - OAuth2? I appreciate if you can point me to any running sample of Auth Server and Sample Client with Spring Security 5 - OAuth2 | JWT.
Actually, in the application.yml, including 'openid' in the scope entries for the client registrationId, google, causes the authentication attempt to fail, with error msg - (Your login attempt was not successful, try again. Reason: [oidc_provider_not_configured] An OpenID Connect Authentication Provider has not been configured. Check to ensure you include the dependency 'spring-security-oauth2-jose'.) Where-as, removing it, results in authentication going through successfully. A quick read through the source code inside the SpringSecurity project's source file at github.com/spring-projects/spring-security/blob/master/config/src/main/java/org/springframework/security/config/annotation/web/configurers/oauth2/client/OAuth2LoginConfigurer.java, shows/confirms why (see lines 579-588). So, any explanation as to why 'openid' was included in this presentation and it seemed to have worked and not throw the above error? Thnks.
Great... Finally found a perfectly working code
Thank you so much JOE.. But getting problem when i am calling through simple proxy in react application it still redirecting to server side base url . can you suggest how to solve this
i got a doubt which method do i need to override for custom access token request for adding a custom header for the request
Thanks Joe :)
thanks ... This video is good for me :)
Do you have a tutorial for Auth Server with Spring Security 5 - OAuth2? I appreciate if you can point me to any running sample of Auth Server and Sample Client with Spring Security 5 - OAuth2 | JWT.
Do you havre any resources on Unit Testing a controller that is secured by OIDC?
Link to the referenced GitHub: github.com/jgrandja/springone2017-demo
Actually, in the application.yml, including 'openid' in the scope entries for the client registrationId, google, causes the authentication attempt to fail, with error msg -
(Your login attempt was not successful, try again.
Reason: [oidc_provider_not_configured] An OpenID Connect Authentication Provider has not been configured. Check to ensure you include the dependency 'spring-security-oauth2-jose'.)
Where-as, removing it, results in authentication going through successfully.
A quick read through the source code inside the SpringSecurity project's source file at github.com/spring-projects/spring-security/blob/master/config/src/main/java/org/springframework/security/config/annotation/web/configurers/oauth2/client/OAuth2LoginConfigurer.java, shows/confirms why (see lines 579-588).
So, any explanation as to why 'openid' was included in this presentation and it seemed to have worked and not throw the above error? Thnks.
Or perhaps, the code/functionality has been changed since after this presentation was done last December 14, 2017. ???