Update pkg/op/authrequest.go
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
This commit is contained in:
parent
cd1c3642d1
commit
f6f8cbacc5
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ func ValidateAuthReqRedirectURI(ctx context.Context, uri, client_id string, resp
|
||||||
|
|
||||||
func ValidateAuthReqResponseType(responseType oidc.ResponseType) error {
|
func ValidateAuthReqResponseType(responseType oidc.ResponseType) error {
|
||||||
if responseType == "" {
|
if responseType == "" {
|
||||||
return ErrInvalidRequest("Unfortunately, a response type is missing in your request. Please ensure the response type is complete and accurate, and try again. If you have any questions, you may contact the administrator of the application at:")
|
return ErrInvalidRequest("Unfortunately, a response type is missing in your request. Please ensure the response type is complete and accurate, and try again. If you have any questions, you may contact the administrator of the application.")
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue