Minio
Set up OIDC for Minio
Pocket ID Setup
- Create a new Group named
consoleAdmin(case sensitive)- Adding your user to the
consoleAdmingroup logs you into Minio as an administrator. You can also add groups for the other built in policies, please see Minio Documentation for more details.
- Adding your user to the
- Create a new OIDC Client and name it Minio (or whatever you want)
- Set Callback URLs:
https://minio-console.example.com/oauth_callback, or leave blank to autofill on first login. - Note
Client IDandClient Secretfor next steps
- Set Callback URLs:
Minio Setup
- Log into Minio using admin (or root) credentials
- Under Administrator, select Identity, then select OpenID
- Click Create Configuration and enter the following:
- Config URL:
https://auth.example.com/.well-known/openid-configuration - Client ID: Your Client ID from Pocket ID
- Client Secret: Your Client Secret from Pocket ID.
- Claim Name:
groups - Display Name: Pocket ID (or anything you want)
- Scopes:
openid,profile,email,groups - Redirect URI:
https://minio-console.example.com/oauth_callback
- Config URL:
Notes
- You will need to enter your Client Secret every time you edit the OpenID configuration. It may be best to simply regenerate a new one on Pocket ID and enter that when required instead of managing the secret.
- If your are using
MINIO_BROWSER_REDIRECT_URL=https://minio.example.com/minio-console/in your Minio configuration, then usehttps://minio.example.com/minio-console/oauth_callbackfor Callback URLs in Pocket ID and Redirect URI in Minio OpenID configuration.