dev_env: true

storage:
  db:
    type: mongodb
    mongodb:
      host: mongodb
      port: 27017
      db_name: coopgo_platform
  kv:
    type: etcd 
    etcd: 
      endpoints: 
      - etcd:2379
      prefix: mobilityaccounts/

services:
  grpc:
    enable: true
    port: 8080
  oidc_provider:
    enable: true
    csrf_key: 32-byte-long-auth-key-----------
    port:     80
    namespaces: 
      parcoursmob:
        namespace: parcoursmob
        secret_key: some-cool-secret-that-is-32bytes
        templates_dir: /oidc-provider/templates/parcoursmob
        match_claims: 
          groups: groups
          first_name: first_name 
          last_name: last_name
          display_name: display_name
        clients: 
          - id: abcdef
            oidc: true
            secret: $2y$10$0GwBc17u9HjZnVlFjhIv2u.Jq..5NyzdUENpGa8jUtok2zHj/STmm
            token_endpoint_auth_method: client_secret_post
            response_types: 
              - code
            grant_types:
              - authorization_code
            redirect_uris: 
              - http://parcoursmob.tilt-dev.svc.cluster.local/api/oauth2/callback
            scopes: 
              - openid 
              - profile 
              - groups
              - email
              - first_name
              - last_name
              - display_name