I logged in cas 5.3.7 with google but failed
I configured in pom file:
     <dependency>
     <groupId>org.apereo.cas</groupId>
     <artifactId>cas-server-support-pac4j-webflow</artifactId>
     <version>${cas.version}</version>
    </dependency>
I configured in application.properties file:
     cas.authn.pac4j.google.id=<my_id_google>
     cas.authn.pac4j.google.secret=<my_secret_google>
     cas.authn.pac4j.google.clientName=Google_Login
Error:
 
url:https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=5595272572-q6bkgpebifoeuravidn1e2seh9cgmkvj.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fcas.example.org%3A8443%2Fcas%2Flogin%3Fclient_name%3DGoogle_Login&scope=profile%20email&state=TST-2-qhS4Lhp-NYdvIn0Fvx594PyJmlqIKUar

*400.* That’s an error.

*Error: redirect_uri_mismatch*

The redirect URI in the request, 
https://cas.example.org:8443/cas/login?client_name=Google_Login, does not 
match the ones authorized for the OAuth client. To update the authorized 
redirect URIs, visit: 
https://console.developers.google.com/apis/credentials/oauthclient/5595272572-q6bkgpebifoeuravidn1e2seh9cgmkvj.apps.googleusercontent.com?project=5595272572

Everyone helped me with please


-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/178d2717-4ec8-41db-9d7e-e74143ad94b5%40apereo.org.

Reply via email to