Add a sample JWT creator on the console to make it easy to try different permissions
See original GitHub issueKind of a corollary to #1369
Using the JWT configuration on the server, allow a user to create sample JWTs. Allow user to play around with x-hasura-*
values.
The console can create a JWT token (or maybe make an API call to the server to avoid this code being written on the console?) and then put it in as an auth header in the headers section of the console.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to Handle JWTs in Python - Auth0
This post will cover what JSON Web Tokens are and how to create JWTs in Python using the most popular JWT library: PyJWT....
Read more >JSON Web Token Introduction - jwt.io
Information Exchange: JSON Web Tokens are a good way of securely transmitting information between parties. Because JWTs can be signed—for example, using public/ ......
Read more >Create Custom Tokens | Firebase Authentication - Google
You can create a custom token with the Firebase Admin SDK, or you can use a third-party JWT library if your server is...
Read more >How to secure a REST API using JWT authentication
In this article, we'll cover one very powerful yet simple way to secure a REST API using JSON Web Tokens (JWT), reviewing some...
Read more >How to Build an Authentication API with JWT Token in Node.js
sign( { user_id: user._id, email }, process.env.TOKEN_KEY, { expiresIn: "2h", } ); // save user token user.token = token; // return new user...
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 Free
Top 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
@rikinsk @ecthiender @karthikvt26 thoughts?
@tirumaraiselvan This is similar to our discussion of using jwt.io in the docs to create sample tokens, but now, we can just create those sample tokens via the console.
Closing this in favour of #1768