Role configuration
less than a minute
port: The port the API server listens on (defaults to 8008).oidc: Optional OpenID Connect config.clientID: OpenID Client Identifier.clientSecret: OpenID Client Secret.issuer: OpenID Issuer, sometimes also called “Configuration URL”. Ensure.well-known/openid-configurationsuffix is removed.redirectURL: Redirect URL Gravity is reachable under. Should end in/auth/oidc/callback.The placeholder
$INSTANCE_IDENTIFIERwill be replaced by the instance’s name and$INSTANCE_IPwill be replaced by the instances IP.scopes: Array of scopes that are requested. Should containopenidandemail.
When OpenID Connect is configured, Gravity will automatically start SSO authentication. To prevent this, add the query parameter local to the Gravity URL, like http://gravity1.domain.tld/ui/?local.