mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-17 19:11:22 +00:00
Obsidian: Explain callbackForwarder
This commit is contained in:
parent
a15e184cf3
commit
34748f5c33
@ -57,6 +57,9 @@ type NameClaim struct {
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
// callbackForwarder helps create an external callback since usual
|
||||
// OAuth2 providers doesn't allow callback to localhost.
|
||||
// Cloudflare Workers is a good option for this.
|
||||
func callbackForwarder(callbackURL string) string {
|
||||
env := os.Getenv("RESF_ENV")
|
||||
// this section contained a callback forwarder, but cannot be published
|
||||
|
Loading…
Reference in New Issue
Block a user