oidc-agent
Search…
Elixir
Elixir supports dynamic registration, but dynamically registered clients will not have any scopes. Therefore users have to either register a client manually (and get approval for the needed scopes) or use a preregistered public client (recommended).
Example:
1
$ oidc-gen --pub <shortname>
2
[...]
3
Issuer [https://login.elixir-czech.org/oidc/]:
4
Space delimited list of scopes [openid profile offline_access]:
5
Generating account configuration ...
6
accepted
7
To continue and approve the registered client visit the following URL in a Browser of your choice:
8
https://[...]
9
[...]
10
success
11
The generated account config was successfully added to oidc-agent. You don't have to run oidc-add.
12
Enter encryption password for account configuration '<shortname>':
13
Confirm encryption Password:
Copied!

Advanced options

Manual Client Registration

Device Flow

To use the device flow with Elixir, the client has to have the device grant type registered. This is the case for our public client, however, it might most likely not be the case for a manually registered client. To use the device flow instead of the authorization code flow with the preregistered public client include the --flow=device --pub options.
Last modified 2yr ago