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

Authorization doesn't work #164

Open
zvrba opened this issue Feb 22, 2021 · 6 comments
Open

Authorization doesn't work #164

zvrba opened this issue Feb 22, 2021 · 6 comments

Comments

@zvrba
Copy link

zvrba commented Feb 22, 2021

Installed Nightingale from app store. Tried to use access token in three ways:

  1. Choosing "Bearer" under auth and pasting access token there.
  2. Choosing "OAuth2.0" under auth and pasting access token there.
  3. Turned off auth and manually set up Authorization header with "Bearer (token)" value.

Nothing worked, I always get "401 unauthorized" back. Copy-pasting the same token into Postman triggers the API call successfully. Though probably not the issue, in the log window I noticed that Nightingale adds a "Cokkie ARRAffinity" header that Postman does not.

@dpaulino
Copy link
Contributor

Are you able to share your URL?

@zvrba
Copy link
Author

zvrba commented Feb 23, 2021

Yes, but how do I send a private message on github?

@dpaulino
Copy link
Contributor

Feel free to email at [email protected]

@zvrba
Copy link
Author

zvrba commented Feb 23, 2021

Sent to email.

@dpaulino
Copy link
Contributor

Thanks, just so I understand, this is an API that you're building yourself right? Does the error repro in both localhost and with the link you sent?

@zvrba
Copy link
Author

zvrba commented Feb 23, 2021

Yes, it's an API I'm building myself. It's a plain ASPNET Core api configured to verify tokens issued by Azure AD. I do not test against localhost, I use only remote debugging.

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

No branches or pull requests

2 participants