package
0.0.0-20240510112451-25e7f0484f61
Repository: https://github.com/eghansah/auth-gateway.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
-
Direct user to the /login url
-
Display login form
-
Check for successful login when form is submitted
-
IF login is successful, redirect to successful login handler
-
Check if service parameter exists. If yes, create a cache entry with api_key of requesting service and the guid of the user that was requested. Redirect with cache entry key
-
Service makes API call with key in header and the token received in step 5
-
If authentic, show user details
curl -H "X-API-KEY: DUQ0s4DozbGaEj6K6i1G9Wkbk0jPK9MVTTRmwJRqoReJDEoQD3ljjfdmPwxxkjhTf-8sOUnkvXG5a7JFu3iiGQ==" http://127.0.0.1:4000/api/verify_login?tk=c5q4ted4n6bj30t08afg