From 3e4b2b921acdbd9b71900a2af181d1655f2aaff4 Mon Sep 17 00:00:00 2001 From: Christiaan Goossens <9487666+christiaangoossens@users.noreply.github.com> Date: Fri, 26 Apr 2024 14:42:58 +0200 Subject: [PATCH] Add jwks_url to config --- src/Laravel/config/openid.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Laravel/config/openid.php b/src/Laravel/config/openid.php index c9f7ce0..47b08b8 100644 --- a/src/Laravel/config/openid.php +++ b/src/Laravel/config/openid.php @@ -47,9 +47,13 @@ 'discovery' => true, /** * When set to true, this package will expose the JSON Web Key Set endpoint. - * - /oauth/jwks */ 'jwks' => true, + /** + * Optional URL to change the JWKS path to align with your custom Passport routes. + * Defaults to /oauth/jwks + */ + 'jwks_url' => '/oauth/jwks', ], /**