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.