...
JSON Configuration
Below, is an example JSONĀ JSON showing how a configuration used to aquire a token from the Microsoft login service could look for a tenant "abcdefg123456".
Code Block | ||
---|---|---|
| ||
{ "class": "io.ceptor.pipeline.tasks.OAuth2TokenTask", "description": "Acquire OAuth2 token for calls to a backend service", "endpoint": "https://login.microsoftonline.com/abcdefg123456/oauth2/token" "timeout": 5, "clientid": "abcdefg-123456-abcdefg-123456", "secret": "KHFNFWNF8768OWPFOIMWPOWf9/O=", "target.requestheader": true, "claims": [{ "name": "resource", "value": "https://graph.microsoft.com" }], } |
...