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

Adding runtime site name to valid JWT audiences (slot scenarios) #10183

Merged
merged 1 commit into from
May 24, 2024

Conversation

mathewc
Copy link
Member

@mathewc mathewc commented May 23, 2024

Analysis of production logs reveal that in slot scenarios, audience validation for JWT tokens can fail, because platform components like DataRole and ScaleController when talking to non-production slots for the site will send an audience value using the runtime site name, so would use audience "https://testsite__5bb5.azurewebsites.net". Whereas, the normal production slot audience for this site is "https://testsite.azurewebsites.net".

I will be backporting this to v3 and v1.

Pull request checklist

IMPORTANT: Currently, changes must be backported to the in-proc branch to be included in Core Tools and non-Flex deployments.

@mathewc mathewc requested a review from a team as a code owner May 23, 2024 22:32
@mathewc mathewc force-pushed the audience-slot-fix branch from 1a626ff to e9aeee4 Compare May 24, 2024 17:04
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