Skip to content

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.

Types

  1. local: Local
  2. oidc: OpenID Connect (OIDC)
  3. simple: Simple
  4. htpasswd: Htpasswd
  5. bifroest: Bifröst delegation
  6. none: None

Examples

  1. Using local authorization:
    1
    type: local
    
  2. Using OpenID Connect DeviceAuth authorization:
    1
    2
    3
    4
    5
    6
    7
    8
    9
    type: oidcDeviceAuth
    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
    
  3. Using Simple DeviceAuth:
    1
    2
    3
    4
    type: simple
    entries:
      - name: foo
        password: plain:bar