server

command
v0.0.0-...-ab948c7 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: MIT Imports: 10 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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