Capture access token from IdP
shawnhankim opened this issue · 2 comments
shawnhankim commented
Background:
-
Current NJS implementation disregard the
access_tokenthat is being sent by the IdP and only uses theid_tokento get stored in the NGINX Plus K/V store. -
Token Recommandation
When Using Do Don't ID Token - Assume the user is authenticated - Call an API - Get user profile data - Check if the client is allowed to access something. Access Token - Call an API - Inspect its content on the client - Check if the client is allowed to access something - Inspect its content on the server side
Acceptance Criteria:
- Enhance the NJS Code to capture the
access_tokensent by the IdP. - Store the
access_tokenin the k/v store as same as we storeid_tokenandrefresh_token
Compatibility:
- This issue will not block the existing features as there would be no change of variables, and this is just to add features.
shawnhankim commented
shawnhankim commented