Open trwalke opened 8 months ago
Thanks @trwalke , given that CIAM non-CUD works, I'm marking this as a P3.
For Id.Web to support other OIDC authorities, this needs to be fixed.
Thanks @trwalke , given that CIAM non-CUD works, I'm marking this as a P3.
For Id.Web to support other OIDC authorities, this needs to be fixed.
This is not the case, the issue above is using the non-CUD domain and it is failing, it also fails with the CUD domain
It appeared to be limited to the CUD when testing from the sample because of the api the sample used, but testing the ID.Web api directly reveals that both forms are failing
@trwalke - the current CIAM daemon sample advises to use the Authority as
I believe this works (and there are some tests to cover it in Id.Web)?
@trwalke - the current CIAM daemon sample advises to use the Authority as
I believe this works (and there are some tests to cover it in Id.Web)?
@bgavrilMS Yes, it worked when I ran it in the sample but it does not appear to be working with the test. The test is using the options property directly instead of using the appsettings.json so maybe this makes a difference? not sure.
Also, I dont see any other CIAM tests that test the higher level CreateGraphClientAndAssert()
api except for mine. The other CIAM tests target very specific helper methods.
P2 since this is a null ref.
Microsoft.Identity.Web Library
Microsoft.Identity.Web
Microsoft.Identity.Web version
2.17.3
Web app
Sign-in users
Web API
Protected web APIs (validating tokens)
Token cache serialization
In-memory caches
Description
For confidential client scenarios in IdWeb, when using the instance and tenant id options (
MicrosoftIdentityOptions
) to configure a CIAM authority, the flow works fine, However, when using the "Authority" option with a CIAM tenant, it fails. This failure occurs with https://DomainName.ciamlogin.com and https://DomainName.ciamlogin.com/tenant Reproduced using theChallengeUser_MicrosoftIdFlow_LocalApp_ValidEmailPassword
testReproduction steps
Reproduced using the
ChallengeUser_MicrosoftIdFlow_LocalApp_ValidEmailPassword
test.Error message
No response
Id Web logs
No response
Relevant code snippets
Regression
No response
Expected behavior
Test should pass without error. (Deamon app calls graph)