Customised bearerTokenAuthenticationPolicy will fail to get access token at the first time #21820
Closed
1 of 3 tasks
Labels
Milestone
Describe the bug
In HLC we have below codes to add bearerTokenAuthenticationPolicy to enable the CAE feature, but once the policy is enabled we fail to authenticate and got below error. If I didn't add this policy I could get the first token but failed to pass CAE process.
Error
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect the auth could be successful and if we test in CAE tenant it could pass the challenges
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
If I didn't add our policy by function
bearerTokenAuthenticationPolicy
I could get the first auth token but fail to finish CAE process.The text was updated successfully, but these errors were encountered: