Oauth2
No edit summary
No edit summary
Line 12: Line 12:


2. Pass the "token" in all subsequent calls.
2. Pass the "token" in all subsequent calls.
[[File:Oauth2Call.PNG]]
'''Please note that eventough Oauth2 is a standard, the naming conventions of all parameters may differ, these names worked using a Indentity Server 4'''

Revision as of 14:39, 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

TokenModel.PNG

2. Set up a server-side view model to refresh the token before expiry, using criterias (as an example) as shown below.

OauthSSCriteria.PNG

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

Oauth2Call.PNG


Please note that eventough Oauth2 is a standard, the naming conventions of all parameters may differ, these names worked using a Indentity Server 4

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