Changes for page 2. Authenticating with your OIDC client and fetch collab user info
Last modified by messines on 2021/06/08 17:32
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -6,7 +6,7 @@ 6 6 7 7 The client is confidential with a secret, you obtain it throught the registering oidc client tutorial above. 8 8 9 -[[image:Screenshot 2020-07-15 at 17.47.12.png]] 9 +[[image:Screenshot 2020-07-15 at 17.47.12.png||height="517" width="758"]] 10 10 11 11 12 12 The whole authentication flow presented here is based on the official OAuth2 rfc describe in the section 4.1 ... ... @@ -13,6 +13,8 @@ 13 13 14 14 [[https:~~/~~/tools.ietf.org/html/rfc6749#section-4.1>>https://tools.ietf.org/html/rfc6749#section-4.1]] 15 15 16 +[[image:Screenshot 2020-07-15 at 18.32.14.png||height="410" width="474"]] 17 + 16 16 == Authentication flow == 17 17 18 18 === Authorization Code Grant === ... ... @@ -99,6 +99,8 @@ 99 99 100 100 == Access user info == 101 101 104 +==== Request ==== 105 + 102 102 Now that your application got the access token of your user, it's really easy to fetch user info 103 103 104 104 (% class="box infomessage" %) ... ... @@ -111,6 +111,8 @@ 111 111 [[image:Screenshot 2020-07-15 at 18.28.28.png||height="161" width="566"]] 112 112 113 113 118 +==== Response ==== 119 + 114 114 As response you will have a json with all the information on the logged user, for my user 115 115 116 116 (% class="box" %)