Skip to content

Testing OBO integration in CI/CD pipelines #5972

@quails4Eva

Description

@quails4Eva

Hi

We have an app that uses OBO authentication which we'd like to test automatically in our ci/cd pipelines. I'm not clear if this is a supported scenario, or if it is what the intended way would be.

It looks like the ROPC flow is deprecated which would seem the most obvious way to do this. Though it is still used in OnBehalfOfTests.cs in this repo.

The migration docs suggest using a confidential client (https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth-ropc#how-to-migrate-away-from-ropc) and this is done in OnBehalfOfServicePrincipalTests.cs , though the documentation seems to suggest that this isn't correct usage as far as I can tell https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-on-behalf-of-flow#client-limitations .

I'm not sure if this is a question or a feature request. Is there a supported way to do this type of automated testing? If not could there be?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions