Is Nanoid RFC3986 compatible? #503
-
Greetings, I was wondering if Nanoid is RFC3986 compatible? Meaning those it use the UnReserved Characters as shown at the link? Why am I asking this? I want to implement a custom authentication flow with Auth0 SPA SDK and I need to generate a high-entropy code verifier anc derive a challenge based on the previous code verifier and I wanted to use Nanoid to generate these. Is it doable? |
Beta Was this translation helpful? Give feedback.
Answered by
ai
Oct 20, 2024
Replies: 1 comment
-
Should be. Our alphabet |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
andrejmoltok
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Should be. Our alphabet
A-Za-z0-9_-
, seems like it insideALPHA / DIGIT / "-" / "." / "_" / "~"