Open CartierPierre opened 2 years ago
I found some troubles with custom field. First, this code is missing, I'll send a pull request later : https://github.com/robrotheram/taiga-contrib-openid-auth/commit/fbd65c15801e355140a69baa896fbe325c71b4dd
In addition, I finally logged what my CAS OpenID server responds :
{
"sub":"mylogin",
"service":"http://imiev.univ-lemans.fr:9000/login",
"auth_time":1645109775,
"attributes":{
"givenName":"John",
"mail":"john.doe@mail.com",
"Sn":"Doe"},
"id":"mylogin",
"client_id":"taiga"
}
So, if I link OPENID_EMAIL_FIELD
to mail or email, it should find it in attributes
I don't know if it's just a peculiarity of the CAS OpenID.
Then I'll adapt your code to my forked branch to fill my config
Hi, I tried to connect with my CAS OpenID server, and encounter some troubles
It seems that the username isn't recovered from the OpenID, here is my docker compose file
How can I log the user attributes to know if there is something in
uid
?I also tried
OPENID_USERNAME_FIELD : "email"