--- tags: - Portainer - Keycloak - OAuth2 - Authentication --- ## Purpose Configure the documented Portainer OAuth2 settings after Keycloak and Portainer are deployed. ### OAuth2 Configuration These are variables referenced by the associated service to connect its authentication system to [Keycloak](<../../../deployments/Identity and Certificates/Keycloak/Deploy Keycloak.md>). | **Parameter** | **Value** | | :--- | :--- | | Client ID | `container-node-01` | | Client Secret | `https://auth.bunny-lab.io > Clients > container-node-01 > Credentials > Client Secret` | | Authorization URL | `https://auth.bunny-lab.io/realms/master/protocol/openid-connect/auth` | | Access Token URL | `https://auth.bunny-lab.io/realms/master/protocol/openid-connect/token` | | Resource URL | `https://auth.bunny-lab.io/realms/master/protocol/openid-connect/userinfo` | | Redirect URL | `https://192.168.3.19:9443` | | Logout URL | `https://auth.bunny-lab.io/realms/master/protocol/openid-connect/logout` | | User Identifier | `email` | | Scopes | `email openid profile` | ## Related Documentation - [Portainer Deployment](<../../../deployments/Containers/Docker/Deploy Portainer.md>) — Prepare the application before configuring OAuth2. - [Keycloak Integrations](<../../../reference/Identity and Certificates/Keycloak Integrations.md>) — Review the identity-provider deployment and other integrations. - [Related Identity and Certificates Documentation](<../../../reference/Identity and Certificates/index.md>) — Find the connected deployments, procedures, and references for this subject.