cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Monitoring http with Oauth2.0 with callback URL with authorization code

MKnie
Newcomer

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 

4 REPLIES 4

ChadTurner
DynaMight Legend
DynaMight Legend

@MKnie were you able to get this monitoring set up? 

-Chad

interested in this as well

Kind regards, Frans Stekelenburg                 Certified Dynatrace Associate | measure.works, Dynatrace Partner

AgataWlodarczyk
Community Team
Community Team

@MKnie any news to share?

When passion meets people magic and innovation happen.

lawrence_cuneaz
Dynatrace Advisor
Dynatrace Advisor

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

lawrence_cuneaz_0-1707407721645.png

lawrence_cuneaz_2-1707407777451.png

@MKnie Does this meet your need?

Featured Posts