From 32acc5868e8a55916cc61455a1863e62d92795b2 Mon Sep 17 00:00:00 2001 From: Dieter Coopman Date: Wed, 2 Oct 2024 14:04:44 +0200 Subject: [PATCH] Update README.md update docs for nonce support with laravel passport --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index adccce9..629ed6a 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,18 @@ instead of `\League\OAuth2\Server\Grant\AuthCodeGrant`. > ![NOTE] > If you are using Laravel, the `AuthCodeGrant` is already registered for you by the service provider. +If you want to use nonce support with Laravel you have to publish the views + +``` +php artisan vendor:publish --tag=passport-views +``` + +Open the `authorize.blade.php` and add the nonce to the approve request + +``` +
+``` + ## Laravel Passport You can use this package with Laravel Passport in 2 simple steps.