auth-gateway-server

command
v0.0.0-...-ecb45e5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2024 License: GPL-3.0 Imports: 42 Imported by: 0

README

1. Direct user to the /login url
2. Display login form
3. Check for successful login when form is submitted
4. IF login is successful, redirect to successful login handler
5. 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

6. Service makes API call with key in header and the token received in step 5
7. If authentic, show user details

curl -H "X-API-KEY: DUQ0s4DozbGaEj6K6i1G9Wkbk0jPK9MVTTRmwJRqoReJDEoQD3ljjfdmPwxxkjhTf-8sOUnkvXG5a7JFu3iiGQ==" http://127.0.0.1:4000/api/verify_login?tk=c5q4ted4n6bj30t08afg

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL