I need guidance please: Id in social networks must go with Google2Profile

14 views
Skip to first unread message

Fernando Gómez

unread,
Nov 3, 2020, 7:32:58 AM11/3/20
to CAS Community
Hello, to complete my integration of CAS SSO with my app, I need that when I return the answer that it can be credited with networks, for example with Google, my ID that I return must come in the format: Google2Profile123456789, it means that the Google2Profile word concatenated the user's ID, the problem is that it is not arriving this way, only the ID arrives, on the way the Google2Profile is lost, please know what I can do, and if it is not possible to leave the Google2Profile, how could I To identify that this accreditation comes through networks, is that I must do some internal processes in my app, if it comes from a network.

Thanks in advance...

Jérôme LELEU

unread,
Nov 4, 2020, 3:28:34 AM11/4/20
to CAS Community
Hi,

You should set the cas.authn.pac4j.typed-id-used property to true.
Thanks.
Best regards,
Jérôme



Le mar. 3 nov. 2020 à 13:33, Fernando Gómez <fgf...@gmail.com> a écrit :
Hello, to complete my integration of CAS SSO with my app, I need that when I return the answer that it can be credited with networks, for example with Google, my ID that I return must come in the format: Google2Profile123456789, it means that the Google2Profile word concatenated the user's ID, the problem is that it is not arriving this way, only the ID arrives, on the way the Google2Profile is lost, please know what I can do, and if it is not possible to leave the Google2Profile, how could I To identify that this accreditation comes through networks, is that I must do some internal processes in my app, if it comes from a network.

Thanks in advance...

--
- 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 cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/995e4fa5-9cd3-4c62-b99b-02af38f46442n%40apereo.org.

Fernando Gómez

unread,
Nov 4, 2020, 1:33:24 PM11/4/20
to CAS Community, leleuj
Thank you so much!!!
It's working.

One last question, is there a way where I can manipulate the String that comes to me a bit, example to remove the namespace org.pac4j.oauth.profile.google2.


Reply all
Reply to author
Forward
0 new messages