-
Hi all, I followed https://docs.microsoft.com/en-us/azure/static-web-apps/authentication-custom?tabs=aad and created the
However, navigating to the site now just show:
How do I make the redirection to sign in page? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @motoko89, you probably will want to add an unauthenticated sign in route above the /*. After adding that you should be able to login. However for automatic redirection to the sign-in page, you probably want to use a response override: https://docs.microsoft.com/en-us/azure/static-web-apps/configuration#response-overrides |
Beta Was this translation helpful? Give feedback.
-
That works! |
Beta Was this translation helpful? Give feedback.
Hi @motoko89, you probably will want to add an unauthenticated sign in route above the /*. After adding that you should be able to login.
However for automatic redirection to the sign-in page, you probably want to use a response override: https://docs.microsoft.com/en-us/azure/static-web-apps/configuration#response-overrides