Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rc4] Use public client auth for odsp e2e flows (#21091) #21106

Merged

Conversation

Abe27342
Copy link
Contributor

@Abe27342 Abe27342 commented May 16, 2024

Description

Currently, we use the ropc flow with a confidential client to authenticate in our e2e/stress tests against odsp. This is less appropriate than using a public client flow, since our application registration really only needs to have delegated permissions.
This PR adjusts things to use a public flow--I've updated the relevant app registrations to allow both forms of auth already.

Using a public flow also means our infrastructure setup here aligns exactly with this relatively recent MSFT guidance.

Cherry-pick of #21091. This change needs to be in every branch we plan on maintaining real service tests against odsp for, as I plan on removing the application configuration enabling confidential client auth.

## Description

Currently, we use the ropc flow with a confidential client to
authenticate in our e2e/stress tests against odsp. This is less
appropriate than using a public client flow, since our application
registration really only needs to have delegated permissions.
This PR adjusts things to use a public flow--I've updated the relevant
app registrations to allow both forms of auth already.

Using a public flow also means our infrastructure setup here aligns
exactly with [this relatively recent MSFT
guidance](https://learn.microsoft.com/en-us/entra/identity-platform/test-automate-integration-testing?tabs=dotnet).

---------

Co-authored-by: Abram Sanderson <absander@microsoft.com>
@Abe27342 Abe27342 changed the title Use public client auth for odsp e2e flows (#21091) [rc4] Use public client auth for odsp e2e flows (#21091) May 16, 2024
@msfluid-bot
Copy link
Collaborator

msfluid-bot commented May 16, 2024

Baseline CI build failed, cannot generate bundle analysis at this time


Baseline commit: df29168

Generated by 🚫 dangerJS against f6bda00

@Abe27342 Abe27342 merged commit 78ee95f into microsoft:release/client/2.0.0-rc.4.0 May 16, 2024
27 checks passed
@Abe27342 Abe27342 deleted the public-auth-rc4 branch May 16, 2024 23:14
Abe27342 added a commit to Abe27342/FluidFramework that referenced this pull request May 20, 2024
…crosoft#21106)

Currently, we use the ropc flow with a confidential client to
authenticate in our e2e/stress tests against odsp. This is less
appropriate than using a public client flow, since our application
registration really only needs to have delegated permissions.
This PR adjusts things to use a public flow--I've updated the relevant
app registrations to allow both forms of auth already.

Using a public flow also means our infrastructure setup here aligns
exactly with [this relatively recent MSFT
guidance](https://learn.microsoft.com/en-us/entra/identity-platform/test-automate-integration-testing?tabs=dotnet).

Cherry-pick of microsoft#21091. This change needs to be in every branch we plan
on maintaining real service tests against odsp for, as I plan on
removing the application configuration enabling confidential client
auth.

---------

Co-authored-by: Abram Sanderson <absander@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants