Skip to content

Commit e1cfad8

Browse files
authored
Add missing support for potential redirect_uris field introduced in Passport 13
1 parent c50a52d commit e1cfad8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Client.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ protected function redirectUris(): Attribute
153153
get: fn (?string $value, array $attributes): array => match (true) {
154154
! empty($value) => $this->fromJson($value),
155155
! empty($attributes['redirect']) => explode(',', $attributes['redirect']),
156+
! empty($attributes['redirect_uris']) => $this->fromJson($attributes['redirect_uris']),
156157
default => [],
157158
},
158159
);

0 commit comments

Comments
 (0)