Replies: 1 comment
-
admin/init.lua
conf/config.yaml
admin/jwt-check.lua
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I would like to use a jwt (Json Web token) as Bearer authentication to get access to admin API instead of X-API-KEY. I already tried it on my local branch and it works well. Now I would like to share that idea with you.
In attachment you have a zip file contains 3 files :
the modified admin/init.lua
the config file conf/config.yaml
the new file admin/jwt-check.lua
Please let me know if the idea can be interesting because I would like to use it for my project.
Thank you.
Best regards
aousair
admin_auth.zip
Beta Was this translation helpful? Give feedback.
All reactions