Changes for page 1. Registering an OIDC client
Last modified by messines on 2022/05/25 10:11
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - 1.Registering an OIDC client1 +Registering an OIDC client - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.m essines1 +XWiki.mmorgan - Content
-
... ... @@ -1,20 +13,7 @@ 1 -== Must read before starting == 2 - 3 -It's very important to choose the right type of clients and to understand the various OAuth flows. 4 - 5 -A very good documentation is this one : 6 - 7 -[[https:~~/~~/auth0.com/docs/authorization/which-oauth-2-0-flow-should-i-use>>url:https://auth0.com/docs/authorization/which-oauth-2-0-flow-should-i-use]] 8 - 9 -and another one 10 - 11 -[[https:~~/~~/dzone.com/articles/the-right-flow-for-the-job-which-oauth-20-flow-sho>>url:https://dzone.com/articles/the-right-flow-for-the-job-which-oauth-20-flow-sho]] 12 - 13 13 == Creating your OpenID Connect client == 14 14 15 15 The steps to create an OpenID Connect (OIDC) client are the following: 16 16 17 -1. Ask the developer accreditation to be authorize to create client 18 18 1. get an access token from the `developer` client 19 19 1. save your registration access token for further modifications of your client 20 20 1. use the token to call the create endpoint ... ... @@ -21,14 +21,6 @@ 21 21 22 22 Note that a Jupyter Notebook notebook is available in the Drive of this collab to help you create and modify your OIDC client. Its name is: **//Managing an OpenID Connect client.ipynb//** [add link] 23 23 24 -=== Ask for developer accreditation === 25 - 26 -To be authorize to create an OIDC client you have to be accredited as developer. 27 - 28 -Please go on this page and "Request to join" the group [[https:~~/~~/wiki.ebrains.eu/bin/view/Identity/#/groups/app-collaboratory-iam~~-~~-service-providers>>https://wiki.ebrains.eu/bin/view/Identity/#/groups/app-collaboratory-iam--service-providers]] 29 - 30 -We will quickly process your request and you will be able to create an OIDC client 31 - 32 32 === Fetching your developer access token === 33 33 34 34 Getting your developer token is done in one simple step: authenticate against the developer client with the password grant. ... ... @@ -77,7 +77,7 @@ 77 77 78 78 {{code language="bash"}} 79 79 # Set your developer token 80 -clb_dev_token= "eyJhbGci..."59 +clb_dev_token=... 81 81 82 82 # Send the creation request 83 83 curl -X POST https://iam.ebrains.eu/auth/realms/hbp/clients-registrations/default/ \ ... ... @@ -191,3 +191,5 @@ 191 191 {{warning}} 192 192 **⚠ Each time you modify your client, a new registration access token is generated. You need to keep track of your latest token to keep access to your client. ⚠** 193 193 {{/warning}} 173 + 174 +