One of these days I will get here.Doc() spacing correct
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
parent
6fe455c687
commit
9e4ffd1cce
@ -30,23 +30,23 @@ func TestAuthorizationEndpoint(t *testing.T) {
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
fositeInvalidClientErrorBody = here.Doc(`
|
fositeInvalidClientErrorBody = here.Doc(`
|
||||||
{
|
{
|
||||||
"error": "invalid_client",
|
"error": "invalid_client",
|
||||||
"error_verbose": "Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method)",
|
"error_verbose": "Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method)",
|
||||||
"error_description": "Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method)\n\nThe requested OAuth 2.0 Client does not exist.",
|
"error_description": "Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method)\n\nThe requested OAuth 2.0 Client does not exist.",
|
||||||
"error_hint": "The requested OAuth 2.0 Client does not exist.",
|
"error_hint": "The requested OAuth 2.0 Client does not exist.",
|
||||||
"status_code": 401
|
"status_code": 401
|
||||||
}
|
}
|
||||||
`)
|
`)
|
||||||
|
|
||||||
fositeInvalidRedirectURIErrorBody = here.Doc(`
|
fositeInvalidRedirectURIErrorBody = here.Doc(`
|
||||||
{
|
{
|
||||||
"error": "invalid_request",
|
"error": "invalid_request",
|
||||||
"error_verbose": "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed",
|
"error_verbose": "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed",
|
||||||
"error_description": "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed\n\nThe \"redirect_uri\" parameter does not match any of the OAuth 2.0 Client's pre-registered redirect urls.",
|
"error_description": "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed\n\nThe \"redirect_uri\" parameter does not match any of the OAuth 2.0 Client's pre-registered redirect urls.",
|
||||||
"error_hint": "The \"redirect_uri\" parameter does not match any of the OAuth 2.0 Client's pre-registered redirect urls.",
|
"error_hint": "The \"redirect_uri\" parameter does not match any of the OAuth 2.0 Client's pre-registered redirect urls.",
|
||||||
"status_code": 400
|
"status_code": 400
|
||||||
}
|
}
|
||||||
`)
|
`)
|
||||||
|
|
||||||
fositeUnsupportedResponseTypeErrorQuery = url.Values{
|
fositeUnsupportedResponseTypeErrorQuery = url.Values{
|
||||||
|
Loading…
Reference in New Issue
Block a user