mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-30 11:46:28 +08:00
added better state management to make OAuth sign-ins HA
This commit is contained in:
@@ -29,7 +29,7 @@ const (
|
||||
auth_key = "netmaker_auth"
|
||||
)
|
||||
|
||||
var oauth_state_string = "netmaker-oauth-state" // should be set randomly each provider login
|
||||
// var oauth_state_string = "netmaker-oauth-state" // should be set randomly each provider login
|
||||
var auth_provider *oauth2.Config
|
||||
|
||||
func getCurrentAuthFunctions() map[string]interface{} {
|
||||
|
||||
Reference in New Issue
Block a user