Version 1.1 by messines on 2020/12/04 11:25

Hide last authors
messines 1.1 1 == Abstract ==
2
3 With IAM, you have the possibility to log in useing your client_id and your secret to generate an access token.
4
5 This can be partiuculary usefull in a tier application, you can use **//your_client //**to log in into your app but also then to reach our Drive and Collab API.
6
7
8 == Configure your OIDC Client ==
9
10 First thing to do is to configure your OIDC client as a Service account. You juste have to provide **"serviceAccountsEnabled" : true** in the définition of your client. Please have a look to this documentation know [[how to modify your oidc client.>>https://wiki.ebrains.eu/bin/view/Collabs/collaboratory-community-apps/Community%20App%20Developer%20Guide/1.%20Registering%20an%20OIDC%20client/]]
11 \\~{~{code language="json"}}
12 {
13 "defaultClientScopes" : [
14 "web-origins",
15 "roles"
16 ],
17 "redirectUris" : [
18 "/relative/redirect/path",
19 "/these/can/use/wildcards/*"
20 ],
21 ...,
22
23 ...,
24 "serviceAccountsEnabled" : true
25 }
26 ~{~{/code}}
27
28