mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-05-12 07:59:52 +00:00
Changed error message (its a static message)
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"bytes"
|
||||
"context"
|
||||
"embed"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/fs"
|
||||
@@ -66,7 +67,7 @@ func validateRedirectURI(ctx any, oidcService *service.OidcService, clientID, re
|
||||
|
||||
// If the client has no callback URLs configured, reject the redirect URI
|
||||
if len(client.CallbackURLs) == 0 {
|
||||
return false, fmt.Errorf("client has no callback URLs configured")
|
||||
return false, errors.New("client has no callback URLs configured")
|
||||
}
|
||||
|
||||
// Validate the redirect URI against the client's callback URLs
|
||||
|
||||
Reference in New Issue
Block a user