Where in the database is the User ID Attribute (userid) received from the SSO

57 views
Skip to first unread message

Julio E. P. K.

unread,
Jan 21, 2016, 12:07:49 PM1/21/16
to General Open edX discussion
Hi:

When configuring the SSO, we got this:

User ID Attribute: Required. This value is used to associate the user’s edX account with the campus account. It is not displayed to users.
By default, uses userid, urn:oid:0.9.2342.19200300.100.1.1.

It works completely fine and we got login from SSO. However I can't find where in the database this userid is. Is it hashed?

Best regards,
Julio

Xavier Antoviaque

unread,
Jan 22, 2016, 2:21:18 AM1/22/16
to edx-...@googlegroups.com
Hi Julio,
 
This is a value your IdP would be sending, and by default it would be looking at the variable name "userid", but you can chose a different name if your IdP sends it under another name at /admin/third_party_auth/samlproviderconfig/
 
It is stored in the social_auth_usersocialauth table, which stores the association between the local edX user and the IdP/username combination.
 
--
Xavier
--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
 

Julio E. P. K.

unread,
Jan 22, 2016, 1:17:10 PM1/22/16
to General Open edX discussion
Thank you very much Xavier.
We are integrating legacy usual login with SSO login. I made tests and now I see it completely possible.

Best regards,
Julio
Reply all
Reply to author
Forward
0 new messages