Azure / Azure/static-web-apps

`/.auth/login/aad/callback` fails with 401 after sucessfull login

Open
#1,571 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

I have auth setup and I understand that /.auth/* is supposed to handle both the outbound and the inbound callback. However I get a 401 on return for https://prototype.nkdagility.com/.auth/login/aad/callback

**To Reproduce**

Steps to reproduce the behaviour:
1. Go to https://prototype.nkdagility.com/.auth/login/aad/
2. Login
3. Return to https://prototype.nkdagility.com/.auth/login/aad/callback
4. 401

**URLs**

Site: https://prototype.nkdagility.com
Build: https://github.com/nkdAgility/NKDAgility.com/blob/main/.github/workflows/main.yaml
staticwebapp.config.json: https://github.com/nkdAgility/NKDAgility.com/blob/main/staticwebapp.config.json
GitRepo: https://github.com/nkdAgility/NKDAgility.com/

**Expected behavior**

I expected this to be handled and return to site with auth tokens present.

Any help would be appreciated.

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.