mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-18 17:08:29 +00:00
Merge pull request #57 from mstg/deploy-test-5
Obsidian: Explain callbackForwarder
This commit is contained in:
commit
d21a8a3f37
@ -57,6 +57,9 @@ type NameClaim struct {
|
|||||||
Name string `json:"name"`
|
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 {
|
func callbackForwarder(callbackURL string) string {
|
||||||
env := os.Getenv("RESF_ENV")
|
env := os.Getenv("RESF_ENV")
|
||||||
// this section contained a callback forwarder, but cannot be published
|
// this section contained a callback forwarder, but cannot be published
|
||||||
|
Loading…
Reference in New Issue
Block a user