Please i need example with react and bearer autoritation please
@RupeshkumarSahu-k9tАй бұрын
how to use this token in react js
@royalcreations93787 ай бұрын
Actually, from where i will get that $key
@webslesson7 ай бұрын
you can generate key from this www.scottbrady91.com/tools/jwt website online
@david_mosquera62075 ай бұрын
Can you explain that key generator page, I'm on that page and I don't know what the key would be
@InsaneGuitarist4 ай бұрын
@@david_mosquera6207 Hi David, the key is something that should be secret. Usually you hide the key in an ".env" file. So the key could be "MySecretKey", and then when it hash with HS256, the user password like "password1234" will be hashed with the string MySecretKey and make a long gibberish password. The key can be generated from the website mentioned above, or you can create your own, the key can be anything, as long it is secret! So the longer autogenerated the key is, the harder the passwords will be to hack/guess :)
@wodzimierzpaus333711 ай бұрын
For me, a bit risky: the password should be hashed.
@HousseinAlDroubi4 ай бұрын
Hello man.
@varatchhetri103015 күн бұрын
Please i need example with react and bearer autoritation please