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

create 64 bit jsonwebtoken #248

Open
emonhossen99 opened this issue Jun 18, 2022 · 0 comments
Open

create 64 bit jsonwebtoken #248

emonhossen99 opened this issue Jun 18, 2022 · 0 comments

Comments

@emonhossen99
Copy link

#install npm i jsonwebtoken;
##requar form server side;

const jwt = requar('jsonwebtoken');

go to your vs code ...

open treminar or (ctrl + j);

node => Enter => requre('crypto').randomBytes(64).toString('hex')

copy and seve your .env file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant