Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/.auth/login/aad/callback fails with 401 after sucessfull login #70

Open
MrHinsh opened this issue Oct 30, 2024 · 0 comments
Open

/.auth/login/aad/callback fails with 401 after sucessfull login #70

MrHinsh opened this issue Oct 30, 2024 · 0 comments
Assignees
Labels
bug Something isn't working Infrastructure

Comments

@MrHinsh
Copy link
Member

MrHinsh commented Oct 30, 2024

RAISED ON: Azure/static-web-apps#1571
ALSO: https://learn.microsoft.com/en-us/answers/questions/2114272/auth-login-aad-callback-fails-with-401-after-suces?comment=question


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.

@MrHinsh MrHinsh added the bug Something isn't working label Nov 7, 2024
@MrHinsh MrHinsh self-assigned this Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Infrastructure
Projects
None yet
Development

No branches or pull requests

1 participant