Custom Authentication Issue
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When I change authentication from the AAD and GitHub to Google, then clicking login link is looped back to fallback route/homepage.
**To Reproduce**
1. Authentication setup with AAD/GitHub works as expected: https://brave-bay-02c113210.4.azurestaticapps.net/
2. Add google as an authentication provider in staticwebapp.config.json:
`"auth": {
"identityProviders": {
"google": {
"registration": {
"clientIdSettingName": "GOOGLE_CLIENT_ID",
"clientSecretSettingName": "GOOGLE_CLIENT_SECRET"
}
}
}
}`
4. Create the application settings which contain client id and client secret
5. Now attempts to access /.auth/login/google just loops back to home page
6. Try to access /.auth/me and the endpoint also loops back to home page
7. https://brave-bay-02c113210-4.centralus.4.azurestaticapps.net/ <- here is my swa with the google settings
**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.