I am trying to implement http url monitor for an api endpoint which implements OpenID Connect (OIDC) Single Sign On (SSO) login. This involves identity layer authorization with server (via Browser IDP) + token-based authentication.
Authorization code grant type requires the user to authenticate with the provider—an authorization code is then sent back to the client app, extracted, and exchanged with the provider for an access token to authenticate later requests.
To use authorization code grant type, enter a Callback URL for your client application (which needs to be registered with the API provider), together with various details provided by the API service including Auth URL, Access Token URL, Client ID, and Client Secret.
Is this something achievable with Dynatrace monitoring or it just supports basic Oauth 2.0
Hi Dynatrace Community, a customer of mine sent me this so wanted to add my thoughts since I think I can help.
I am not an expert in Oath2 but have dabbled in custom scripting for synthetics. Correct me if I’m wrong but sounds like you need the ability pull authentication details from the response of a request and pass it to a preceding requests and authenticate via Oath2?
I think the OAuth2.0 authorization supported here in Dynatrace only works with a grant_type of password which is a deprecated grant_type in OAuth2.0 and is not recommended.