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

JWT Authorization Option for the GraphQL Template #12818

Open
1 task done
heroicbanderson opened this issue Apr 29, 2024 · 3 comments
Open
1 task done

JWT Authorization Option for the GraphQL Template #12818

heroicbanderson opened this issue Apr 29, 2024 · 3 comments
Labels
feature product/api-client protocol/graphql Issues relating to the GraphQL protocol within Postman

Comments

@heroicbanderson
Copy link

Is there an existing request for this feature?

  • I have searched the existing issues for this feature request and I know that duplicates will be closed

Is your feature request related to a problem?

I don't see the JWT Bearer option under types on the Authorization tab. This makes the GraphQL feature less useful since I can't use it with the GraphQL api I have that uses JWT.

Describe the solution you'd like

A JWT Bearer option for the GraphQL template like there is for other request types.

Describe alternatives you've considered

Not having the advantage of the GraphQL template, but writing my requests out by hand.

Additional context

No response

@ronork ronork added protocol/graphql Issues relating to the GraphQL protocol within Postman product/api-client labels Apr 29, 2024
@ronork
Copy link

ronork commented Apr 29, 2024

Hey @heroicbanderson ,
Thanks for your request! While a dedicated JWT Bearer option for GraphQL isn't here yet, use the "Authorization" header with "Bearer <your_encrypted_token>". This will work for now. We're actively working on it and will keep you posted!

@sandeep-singh-pstmn
Copy link

sandeep-singh-pstmn commented Apr 29, 2024

@heroicbanderson You can also use the old GraphQL agent with JWT authentication over HTTP for now. I have attached a video that you can refer to.

Screen.Recording.2024-04-29.at.1.04.54.PM.mov

@heroicbanderson
Copy link
Author

Thank you for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature product/api-client protocol/graphql Issues relating to the GraphQL protocol within Postman
Projects
None yet
Development

No branches or pull requests

3 participants