Закрываем доступ к ресурсу при помощи Oauth2 используя только Nginx с NJS модулем. Имеется кеширование ответов сервера и поддержка bearer token.
#nginx #njs #oauth2 #jwt
https://gist.github.com/lcrilly/c26baed7d80e84c879439d4f0fefb18a
#nginx #njs #oauth2 #jwt
https://gist.github.com/lcrilly/c26baed7d80e84c879439d4f0fefb18a
Gist
NGINX OAuth 2.0 Token Introspection
NGINX OAuth 2.0 Token Introspection. GitHub Gist: instantly share code, notes, and snippets.