OAuth setup with Kanidm 🦀 #3654
Replies: 4 comments 1 reply
-
|
fwiw, a couple of other useful commands, depending your situation:
|
Beta Was this translation helpful? Give feedback.
-
|
If you're missing the email claim and get a log message like this: The user in kanidm is missing the mail attribute. |
Beta Was this translation helpful? Give feedback.
-
|
I found that for some reason Mealie would never get a JWT token containing the user's groups even if the I was able to work around this by:
|
Beta Was this translation helpful? Give feedback.
-
|
Mealie have added secrets in V2 >, you'll have to:
and add in mealie env :
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Configuration Example (last updated for mealie v2.4.1, kanidm 1.4.5)
Kanidm
You need to create a public client:
kanidm system oauth2 create mealie Mealie https://mealie.example.comkanidm system oauth2 add-redirect-url mealie https://mealie.example.com/loginkanidm system oauth2 prefer-short-username mealiekanidm group create mealie_userskanidm group create mealie_adminskanidm system oauth2 update-scope-map mealie mealie_users openid email profile groupskanidm system oauth2 update-scope-map mealie mealie_admins openid email profile groupskanidm system oauth2 show-basic-secret mealieMealie
Add this to your env
See https://docs.mealie.io/documentation/getting-started/installation/backend-config/#openid-connect-oidc for more options
Beta Was this translation helpful? Give feedback.
All reactions