{{#if this.value.Name}}
{{#if (eq this.error.status '403')}}
Consul login failed
We received a token from your OIDC provider but could not log in to Consul with it.
{{else if (eq this.error.status '401')}}
Could not log in to provider
The OIDC provider has rejected this access token. Please have an administrator check your auth method configuration.
{{else if (eq this.error.status '499')}}
SSO log in window closed
The OIDC provider window was closed. Please try again.
{{else}}
Error
{{this.error.detail}}
{{/if}}
{{else}}
{{#if (eq this.error.status '403')}}
Invalid token
The token entered does not exist. Please enter a valid token to log in.
{{else if (eq this.error.status '404')}}
No providers
No SSO providers are configured for that Partition.
{{else}}
Error
{{this.error.detail}}
{{/if}}
{{/if}}