I need help about JWT auth
See original GitHub issueHello. I need help, so I’ve created an issue.
We are going to use graphdoc to document the project that has been completed. However, our project is now designed to be accessible to graphql even though it must pass JWT certification. So if you want to document using graphdoc, you have to send Authorization to header. I would appreciate it if you can help me.
I would like to apply it as shown below.
I would appreciate your reply anytime.
Thank you.
{
"name": "project",
// [...]
"graphdoc": {
"endpoint": "http://localhost:8080/graphql",
"header":{"Authorization":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"}
"output": "./doc/schema",
}
}
graphdoc -e http://localhost:8080/graphql -o ./doc/schema
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
All You Need to Know About JWT Authentication - Frontegg
JSON Web Token (JWT) is a popular user authentication standard, used to securely exchange information online. This token is made up of three ......
Read more >JSON Web Token Introduction - jwt.io
JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties...
Read more >What is JWT (JSON Web Token)? - Blog - miniOrange
JWT authentication is a token-based stateless authentication mechanism. It is popularly used as a client-side-based stateless session, this ...
Read more >JWT authentication: Best practices and when to use it
A JWT is a mechanism to verify the owner of some JSON data. It's an encoded, URL-safe string that can contain an unlimited...
Read more >What is JWT Authentication? | How to Make Your Tokens Secure
JSON Web Token (JWT) is a JSON encoded representation of a claim(s) that can be transferred between two parties. The claim is digitally...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same problem, if you’ve found a way to solve this problem… just let us know 👍
This issue is too old and I don’t remember how I did it.
Therefore, rather than keeping the current issue open, it would be better to close it and proceed again if necessary.