Skip to content
Snippets Groups Projects
example-config.yaml 717 B
Newer Older
Gabriel Zachmann's avatar
Gabriel Zachmann committed
issuer: "https://mytoken.example.com"
server:
  hostname: "mytoken.example.com"
database:
  host: "localhost"
  user: "mytoken"
  password: "password"
  db: "mytoken"
providers:
  - issuer: "https://example.provider.com/"
    client_id: "clientid"
    client_secret: "clientsecret"
    scopes:
      - openid
      - profile
enabled_oidc_flows:
  - "authorization_code" # MUST be enabled
  - "device"
enabled_super_token_endpoint_grant_types:
  - "super_token" # MUST be enabled
  - "oidc_flow" # MUST be enabled
  - "polling_code"
  - "access_token"
  - "private_key_jwt"
polling_code_expires_after: 300
signing:
  alg: "RS512"
  key_file: "/mytoken.key"
Gabriel Zachmann's avatar
Gabriel Zachmann committed
service_documentation: "https://github.com/zachmann/mytoken"