How to make OIDC account an admin
I tried to migrate my homarr to use OIDC SSO. But i cannot make my OIDC account to be the admin for the homarr.
As i cannot add external account to a group.
Ultimately I want to remove the local authentication, to use SSO only.
As i cannot add external account to a group.
Ultimately I want to remove the local authentication, to use SSO only.
Solution
Okay then follow the following steps:
- Create a group with your local authentication account with the name from the external auth provider
- Set permission for that group to admin
- Change AUTH_PROVIDERS to
oidc - Restart container
- Login with oidc account
- You are now admin