oauth_signin_title=Sign In to Authorize Linked Account
oauth_signin_submit=Link Account
oauth.signin.error=There was an error processing the authorization request. If this error persists, please contact the site administrator.
oauth.signin.error.general=There was an error processing the authorization request: %s. If this error persists, please contact the site administrator.
oauth.signin.error.access_denied=The authorization request was denied.
oauth.signin.error.temporarily_unavailable=Authorization failed because the authentication server is temporarily unavailable. Please try again later.
oauth_callback_unable_auto_reg=Auto Registration is enabled, but OAuth2 Provider %[1]s returned missing fields: %[2]s, unable to create an account automatically, please create or link to an account, or contact the site administrator.
iferr.Error()=="securecookie: the value is too long"||strings.Contains(err.Error(),"Data too long"){
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)
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)