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 tokens not being encoded properly #47

Open
btodorce opened this issue Aug 12, 2021 · 1 comment
Open

Authorization tokens not being encoded properly #47

btodorce opened this issue Aug 12, 2021 · 1 comment

Comments

@btodorce
Copy link

create a query config file, which includes the authorization header
headers: X-Hasura-Admin-Secret: SomeSecret authorization: Bearer SomeJWT

The authorization is being encoded incorrectly
image

@GavinRay97
Copy link
Member

GavinRay97 commented Sep 1, 2021

That is what is expected, you asked for this aye?

headers:
  X-Hasura-Admin-Secret: SomeSecret
  authorization: Bearer SomeJWT

That is the correct decoding of that object to JS, can you elaborate further on the issue?

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

2 participants