Skip to main content

LOGIN_SCOPE

Constant LOGIN_SCOPE 

Source
pub const LOGIN_SCOPE: &str = "openid profile email offline_access";
Expand description

Scopes requested for the device flow. offline_access is what makes Keycloak issue a long-lived refresh token, which is the whole point of this flow for a CLI: unattended git hooks must never prompt.