Oauth2
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Server to server authentication using Oauth2 and the | Server to server authentication using Oauth2 and the [https://tools.ietf.org/html/rfc6749#section-4.4 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 | 1. Set up the call to obtain the "token" using the client secret, storing the result in transient classes as shown to the right |
Revision as of 14:54, 10 March 2019
This page was created by Henrik on 2019-03-10. Last edited by Edgar on 2025-08-31.
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
2. Set up a server-side view model to refresh the token before expiry, using criterias (as an example) as shown below.
2. Pass the "token" in all subsequent calls.
Please note that eventough Oauth2 is a standard, the naming conventions of all parameters may differ, these names worked using a Indentity Server 4