You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iferr.Error() =="securecookie: the value is too long"||strings.Contains(err.Error(), "Data too long") {
1104
1124
log.Error("OAuth2 Provider %s returned too long a token. Current max: %d. Either increase the [OAuth2] MAX_TOKEN_LENGTH or reduce the information returned from the OAuth2 provider", authSource.Name, setting.OAuth2.MaxTokenLength)
1105
1125
err=fmt.Errorf("OAuth2 Provider %s returned too long a token. Current max: %d. Either increase the [OAuth2] MAX_TOKEN_LENGTH or reduce the information returned from the OAuth2 provider", authSource.Name, setting.OAuth2.MaxTokenLength)
1106
1126
}
1107
-
// goth does not provide the original error message
ifstrings.Contains(err.Error(), "server response missing access_token") ||strings.Contains(err.Error(), "could not find a matching session for this request") {
0 commit comments