From 977d79708a93e084bb5aa6a9e46929fbefb66117 Mon Sep 17 00:00:00 2001 From: Scott Poore Date: Mon, 20 Dec 2021 10:04:00 -0600 Subject: [PATCH] OAuth DAG how-to-try-it initial curl request fix The URL used in the initial curl request in the "How to try it" section showed an incorrect URL: /realms/test/protocol/openid-connect/device/auth The current currect URL should be: /auth/realms/test/protocol/openid-connect/auth/device --- design/oauth2-device-authorization-grant.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/design/oauth2-device-authorization-grant.md b/design/oauth2-device-authorization-grant.md index f8b7375..d4171ec 100644 --- a/design/oauth2-device-authorization-grant.md +++ b/design/oauth2-device-authorization-grant.md @@ -99,7 +99,7 @@ Send POST request to the `Device Authorization Endpoint` like below. ``` curl -X POST \ -d "client_id=foo" \ - "http://localhost:8080/realms/test/protocol/openid-connect/device/auth" + "http://localhost:8080/auth/realms/test/protocol/openid-connect/auth/device" ``` It returns a response like below.