Update pkg/op/authrequest.go
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
This commit is contained in:
parent
f552b1cd3f
commit
b2d043a84f
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ func ValidateAuthReqRedirectURI(ctx context.Context, uri, client_id string, resp
|
||||||
if client.ApplicationType() == ApplicationTypeNative {
|
if client.ApplicationType() == ApplicationTypeNative {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
return ErrInvalidRequest("Unfortunately, this client's redirect_uri is private and is not allowed. If you have any questions, you may contact the administrator of the application at:")
|
return ErrInvalidRequest("Unfortunately, this client's redirect_uri is http and is not allowed. If you have any questions, you may contact the administrator of the application.")
|
||||||
} else {
|
} else {
|
||||||
if client.ApplicationType() != ApplicationTypeNative {
|
if client.ApplicationType() != ApplicationTypeNative {
|
||||||
return ErrInvalidRequestRedirectURI("Unfortunately, http is only allowed for native applications. Please change your redirect uri configuration and try again. If you have any questions, you may contact the administrator of the application.")
|
return ErrInvalidRequestRedirectURI("Unfortunately, http is only allowed for native applications. Please change your redirect uri configuration and try again. If you have any questions, you may contact the administrator of the application.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue