question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add a sample JWT creator on the console to make it easy to try different permissions

See original GitHub issue

Kind 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:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
coco98commented, Mar 12, 2019

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

0reactions
coco98commented, Mar 14, 2019

Closing this in favour of #1768

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found