Skip to content

Authorizations

Everything in Bifröst starts here. A user must be authorized at first. 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

Examples

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