Ive got an error after enabling the socialite with authentik. I am able to login via SSO. the problem is there is no roles. when i use the
lnms:config get auth.socialite this is the return
“redirect”: true,
“register”: true,
“default_role”: “admin”,
“claims”: {
“authentik”: {
“roles”: {
“AdminGroup”: “admin”,
“ReadGroup”: “read”
}
},
“RETURN_FROM_CLAIM”: {
“roles”: [
“admin”
]
},
“OTHER_RETURN_FROM_CLAIM”: {
“roles”: [
“global-read”,
“cleaner”
]
}
},
did i miss something
and also the set auth,mechanism is predefined to mysql. im using now authentik
If it can help, it works for me (not authentik though) with:
{
"auth": {
"socialite": {
"redirect": true,
"register": true,
"default_role": "global-read",
"claims": {
"AdminGroup": {
"roles": [
"admin"
]
}
},
"configs": {
"jumpcloud": {
"client_id": "xxx",
"client_secret": "yyy",
"base_url": "https://oauth.id.jumpcloud.com/oauth2/auth",
"listener": "\\SocialiteProviders\\JumpCloud\\JumpCloudExtendSocialite"
}
},
"scopes": [
"groups"
]
}
}
Also I had built-in roles missing on my instance, it was fixed here.
1 Like
system
Closed
3
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.