Authorizations
Everything in Bifröst starts here. Firstly, a user must be authorized. Bifröst supports different types of authorizations you can choose from to adjust to your needs.
Each flow selects one authorization, either inline or from the root authorizations map. An omitted authorization uses authorizations.default only if defined.
Types
local: LocaloidcAuthorizationCode: OIDC Authorization CodeoidcDeviceAuth: OIDC Device Authorizationsimple: Simplehtpasswd: Htpasswdbifroest: Bifröst delegationnone: None
The resulting identity is available through Context Authentication.
Examples
- Using local authorization:
1 2
type: local rememberMe: allowedAndEnabledByDefault - Using OpenID Connect Device Authorization:
1 2 3 4 5 6 7 8 9 10
type: oidcDeviceAuth rememberMe: allowedAndEnabledByDefault issuer: https://login.microsoftonline.com/my-great-tenant-uuid/v2.0 clientId: my-great-client-uuid clientSecret: very-secret-secret scopes: - openid - email - profile - offline_access - Using Simple authorization:
1 2 3 4 5
type: simple rememberMe: allowedAndEnabledByDefault entries: - name: foo password: plain:bar