I log cas thanks to 3rd  party is google but faild

I have config on file pom:
     <dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-pac4j-webflow</artifactId>
<version>${cas.version}</version>
     </dependency>
I have config on file application.properties:
     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-1-betONsJXRU6VRlO8F9KYU9jVErGWRE3g


*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 help me

-- 
- 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/3f1f679d-9222-433d-9268-068f3ea7848a%40apereo.org.

Reply via email to