You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to allow us to sign JWTs with any key (so that each client has it's own key)
a DWYL_API_KEYdwyl/auth#42 we need the ability to supply the signing key as an argument.
Todo
Expose a the following functions that will allow us to supply any signing key:
generate_jwt!/2
verify_jwt/2
verify_jwt!/2
The text was updated successfully, but these errors were encountered:
At present we only have
generate_jwt!/1
which takes aclaims
Map but uses a default signing key:auth_plug/lib/token.ex
Lines 21 to 27 in 5936433
In order to allow us to sign JWTs with any key (so that each client has it's own key)
a
DWYL_API_KEY
dwyl/auth#42 we need the ability to supply the signing key as an argument.Todo
Expose a the following functions that will allow us to supply any signing key:
generate_jwt!/2
verify_jwt/2
verify_jwt!/2
The text was updated successfully, but these errors were encountered: