Azure / Azure/static-web-apps

Caching of Static Web App Consent Page With Front Door

Open
#902 4 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

**Issue**

I've setup and configured an Azure Static Web App (using AAD authentication) to utilize Azure Front Door as an entry point precisely following all of the steps [here](https://docs.microsoft.com/azure/static-web-apps/front-door-manual).

After doing so, it seems that the consent page served from https://identity.azurestaticapps.net/.auth/login/done appears to be displayed upon every single login. (**Note**: This was _not_ happening before configuring Azure Front Door).

![image](https://user-images.githubusercontent.com/8422643/187533472-0d5fb34f-2927-4a5e-8867-c8742aa7e882.png)

Is there a way to ensure that this consent page is only shown once for initial application consent? Thank you!

**Device info:**
- OS: Windows 11
- Browser: Chrome (104.0.5112.102)

**Additional context**
I figured this was some kind of caching issue with Azure Front Door, however I had initially followed the [steps](https://docs.microsoft.com/azure/static-web-apps/front-door-manual#disable-cache-for-auth-workflow) for disabling caching for the Auth Workflow and this issue still seems to occur.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.