mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-26 21:19:31 +02:00
Merge branch 'wasaga/mcp-client-registration' into wasaga/mcp-authorize-request
This commit is contained in:
commit
52af622cc4
6 changed files with 114 additions and 1405 deletions
|
@ -8,7 +8,7 @@ import (
|
|||
)
|
||||
|
||||
func ValidateAuthorizationRequest(
|
||||
client *rfc7591v1.ClientRegistrationRequest,
|
||||
client *rfc7591v1.ClientMetadata,
|
||||
req *gen.AuthorizationRequest,
|
||||
) error {
|
||||
if err := ValidateAuthorizationRequestRedirectURI(client, req.RedirectUri); err != nil {
|
||||
|
@ -18,7 +18,7 @@ func ValidateAuthorizationRequest(
|
|||
}
|
||||
|
||||
func ValidateAuthorizationRequestRedirectURI(
|
||||
client *rfc7591v1.ClientRegistrationRequest,
|
||||
client *rfc7591v1.ClientMetadata,
|
||||
redirectURI *string,
|
||||
) error {
|
||||
if len(client.RedirectUris) == 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue