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 #1571

Open
MrHinsh opened this issue Oct 30, 2024 · 1 comment
Open

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

MrHinsh opened this issue Oct 30, 2024 · 1 comment

Comments

@MrHinsh
Copy link

MrHinsh commented Oct 30, 2024

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 changed the title /.auth/login/aad/callback fails with 401 after sucessfull login /.auth/login/aad/callback fails with 401 after sucessfull login Oct 30, 2024
@MrHinsh
Copy link
Author

MrHinsh commented Nov 5, 2024

Note to all it looks like this location is not monitored! I got reponces on https://learn.microsoft.com/en-us/answers/questions/2114272/auth-login-aad-callback-fails-with-401-after-suces?comment=question

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant