From 918559a1b2e1b301495216e59640543c625cf14a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Chalet?= Date: Sat, 13 Aug 2016 13:35:17 +0200 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d911a56e..5f9e7046 100644 --- a/README.md +++ b/README.md @@ -152,12 +152,6 @@ services.AddOpenIddict, ApplicationDbContext, ## Enabling interactive flows support - - **Create your own authorization controller and your own views**: - -To **enable authorization code/implicit flows support, you must create your own controller** and your own views/view models. The Mvc.Server sample comes with an [`AuthorizationController` that you can easily reuse in your application](https://github.com/openiddict/openiddict-core/blob/dev/samples/Mvc.Server/Controllers/AuthorizationController.cs). - -![](https://cloud.githubusercontent.com/assets/6998306/10988233/d9026712-843a-11e5-8ff0-e7addffd727b.png) - - **Enable the corresponding flows in the OpenIddict options**: ```csharp @@ -181,6 +175,14 @@ public void ConfigureServices(IServiceCollection services) { } ``` + - **Create your own authorization controller and your own views**: + +**By default, OpenIddict processes authorization requests without requiring user consent**, which allows you to use OpenIddict with your own SPA apps without having to add custom code. + +**To display a confirmation form, you must create your own controller** and your own views/view models. The Mvc.Server sample comes with an [`AuthorizationController` that you can easily reuse in your application](https://github.com/openiddict/openiddict-core/blob/dev/samples/Mvc.Server/Controllers/AuthorizationController.cs). + +![](https://cloud.githubusercontent.com/assets/6998306/10988233/d9026712-843a-11e5-8ff0-e7addffd727b.png) + - **Register your client application**: ```csharp