postman-app-support icon indicating copy to clipboard operation
postman-app-support copied to clipboard

JWT Authorization Option for the GraphQL Template

Open heroicbanderson opened this issue 1 year ago • 3 comments
trafficstars

Is there an existing request for this feature?

  • [X] 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

heroicbanderson avatar Apr 29 '24 02:04 heroicbanderson

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!

ronork avatar Apr 29 '24 04:04 ronork

@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.

https://github.com/postmanlabs/postman-app-support/assets/85243040/6351e408-71db-438f-996b-3b34ed915237

sandeep-singh-pstmn avatar Apr 29 '24 07:04 sandeep-singh-pstmn

Thank you for the help!

heroicbanderson avatar May 01 '24 01:05 heroicbanderson