copy and modify the routes test for the legacy server
This commit is contained in:
parent
c98291a6a7
commit
af2d2942a1
6 changed files with 390 additions and 17 deletions
|
@ -248,7 +248,7 @@ func unimplementedError(r interface{ path() string }) StatusError {
|
|||
}
|
||||
|
||||
func unimplementedGrantError(gt oidc.GrantType) StatusError {
|
||||
err := oidc.ErrUnsupportedGrantType().WithDescription("%s grant not supported", gt)
|
||||
err := oidc.ErrUnsupportedGrantType().WithDescription("%s not supported", gt)
|
||||
return NewStatusError(err, http.StatusBadRequest) // https://datatracker.ietf.org/doc/html/rfc6749#section-5.2
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue