journal/2021-04-16--12-27-13Z--iroh_auth_presentation.org

This commit is contained in:
Yann Esposito (Yogsototh) 2021-04-16 16:28:10 +02:00
parent 7ba377332b
commit cb932e03cc
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -231,15 +231,16 @@ So login now? no.
:idp-account-url "https://console.qa1.immunet.com/users/current"
:idp-logout-url "https://console.qa1.immunet.com/logout"
:grant-type :code <- OAuth2 detail
;; Correlation table how to transform the `id_token` claims
:correlation-table {:org-id [:companyId]
:org-name [:companyName]
:user-name [:user_name]
:user-email [:email]
:role [:role]}
:scopes ["profile" "email"]
:client-id "mylocalamp"
:allow-all-role-to-login false
:client-secret "JBRIatqlkRmyJFSlUqagiBKTCeCVgwhJFLXvqc1CJc4RO8uqqDaJNoSBlJzlOayE"
:scopes ["profile" "email"] <- asked to the IdP OIDC provider
:client-id "mylocalamp" <- client-id on the IdP provider
:allow-all-role-to-login false <- default allow non-admin to login
:client-secret "******"
:additional-authorize-query-params {:selector "amp"}
:scim-id :qa1}
#+end_example