mohd7469 / oauth2orize-examples

Some oauth examples and implementation.
MIT License
230 stars 95 forks source link

Math.random() is not secure #19

Open markstos opened 6 years ago

markstos commented 6 years ago

Consider replacing getUid() with secure-random-string for cryptographically secure random numbers.

It has the option to continue to make them 16 characters log as before if you prefer.

Illizion commented 5 years ago

might drop in with a pr on this one later =3, could be pretty dangerous in PrOduCtiOn :o