oidc-agent
Search…
HBP
HBP supports dynamic registration, but has a protected registration endpoint. Therefore, a user has to be a member of the Human Brain Project and has to pass an initial access token to oidc-gen using the --at option. One way to obtain such an access token is using WaTTS.
Example:
1
$ oidc-gen <shortname> --at=<access_token>
2
[...]
3
Issuer [https://services.humanbrainproject.eu/oidc/]:
4
Space delimited list of scopes [openid profile offline_access]:
5
Registering Client ...
6
Generating account configuration ...
7
accepted
8
To continue and approve the registered client visit the following URL in a Browser of your choice:
9
https://[...]
10
[...]
11
success
12
The generated account config was successfully added to oidc-agent. You don't have to run oidc-add.
13
Enter encryption password for account configuration '<shortname>':
14
Confirm encryption Password:
Copied!
Alternatively it is also possible to use a preregistered public client by using the --pub option (--at is not required in that case).
Last modified 2yr ago
Copy link