Skip to content

Concerning the SECRET parameter #861

Answered by umputun
criticalcake asked this question in Q&A
Discussion options

You must be logged in to vote

The secret used to sign JWT and should be a random, long, hard-to-guess string. For example, unmaze-mirror-phu-yep-alogy-wirra-harr will do or TLbWnWr6KF5k0XT15 or anything like this.

This string shouldn't match anything else, neither auth parameter nor any other parameter. I usually recommend keeping the secret's backup in someplace, but in this case, it doesn't really matter. If you lose your secret and replace with a completely different one nothing will break, and the only side effect will be a rejection of all currently logged in user (will force them to authenticate again).

Pls don't use provided examples; they are just this - examples.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by umputun
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants