Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


The following commands are available for configuration of OIDC clients:

  • clients list
  • clients show <client_id>
  • clients rm <client_id>
  • clients add # see below

Use the --help flag for a description of the parameters for each command.


docker exec -it didmos2-demo-auth didmos2-auth-cli clients add --flow code --client-name Foobar --redirect-uri         
--client-secret not provided, but required for --flow = code or both. Generated random value for client_secret: dRWl2zin2VD7AyOOAJghweNF
Generated random value for client_id: 9SHRfIcW034AQY8s
Client successfully created: {'_id': ObjectId('5d5d4eff791d34483ec0bbee'), 'data': {'application_type': 'web', 'client_secret': 'dRWl2zin2VD7AyOOAJghweNF', 'redirect_uris': [''], 'client_id': '9SHRfIcW034AQY8s', 'response_types': ['code'], 'client_name': 'Foobar'}, 'lookup_key': '9SHRfIcW034AQY8s'}

# Further parameters
# Client AuthN is client_secret_basic per default. To change this, add:
--token-endpoint-auth-method client_secret_post

lookup_key is always the client_id of a client and must be unique. If --client-id is empty, a random id is generated. If --client-secret is empty and --flow is either code or both, a random value is generated.