command
Version:
v0.0.0-...-ab948c7
Opens a new window with list of versions in this module.
Published: Mar 17, 2021
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Web API implementing the "Authentication flow using OpenID Connect"
Using the official documentation as reference.
Running
Make sure you dep ensure -vendor-only
before running:
go run main.go -tenant <AZURE-AD-tenant> -appid <AZURE-AD-application-ID> -guids <comma-separated-group-guids>
Using
This program defines 4 endpoints:
/login
for our users to log in
/logout
for our users to log out
/token
used as the redirect URL, returns the computed JWT, it must be saved by used and send it as the Authentation Beader <token>
value
/information
authorized-only resource
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.