Oauth2
No edit summary
No edit summary
Line 5: Line 5:
[[File:GetTokenOauth2.PNG]]
[[File:GetTokenOauth2.PNG]]


[[File:TokenModel.PNG]thumb right]
[[File:TokenModel.PNG] thumb right]


2. Set up a server-side view model to refresh the token before exiry
2. Set up a server-side view model to refresh the token before exiry


2. Pass the "token" in all subsequent calls.
2. Pass the "token" in all subsequent calls.

Revision as of 14:26, 10 March 2019

Server to server authentication using Oauth2 and the "Client credentials grant" flow may be supported using these steps.

1. Set up the call to obtain the "token" using the client secret, storing the result in transient classes as shown to the right

GetTokenOauth2.PNG

[[File:TokenModel.PNG] thumb right]

2. Set up a server-side view model to refresh the token before exiry

2. Pass the "token" in all subsequent calls.

This page was edited 48 days ago on 02/10/2024. What links here