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?
If these are the 2 requirements then I can confirm both are supported.
Oath2 support: https://docs.dynatrace.com/docs/shortlink/synthetic-authentication#oauth2
Pass variables between synthetic steps: https://docs.dynatrace.com/docs/shortlink/http-monitor-pre-post-script#variables
@MKnie Does this meet your need?