This project is a simple Go example project which uses:
- Fiber - a web framework
- Templ - a HTML templating engine
- Goth - a multi-provider authentication library for Go
- Goth Fiber - a wrapper for Goth to use with Fiber
The example uses AAD based authentication.
# Install Air
go install github.com/cosmtrek/air@latest
# Set environment variables
export AUTH_TARGET_APPLICATION_ID="YOUR_AAD_APPLICATION_ID"
export AUTH_CLIENT_SECRET="YOUR_AAD_CLIENT_SECRET"
# Run with Air
air