Skip to content

How to redirect to single-tenant Azure AD auth page for a static Jekyll site hosted on Static Web App? #705

Answered by miwebst
motoko89 asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by simonaco
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #701 on January 28, 2022 11:52.