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

A typo in src/check-token.ts. Should be 'authorization' instead of 'authentication' #63

Open
jfshark opened this issue Jun 11, 2024 · 0 comments

Comments

@jfshark
Copy link

jfshark commented Jun 11, 2024

Hello!

I was using the emulator to test our Azure SaaS integration development. And when I switched to azure token usage ("REQUIRE_AUTH": "true"), it stopped working and gave me 401 all the time. As it was in the docker desktop, I had to run it locally to be able to debug. And found that in line 33 of check-token.js there is 'req.headers.authentication' instead of 'req.headers.authorization'. It does not work with correct tokens. After fixing it works as expected

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