Remove oauth2 example from docs 54/104454/4
authorPeter Suna <peter.suna@pantheon.tech>
Tue, 21 Feb 2023 10:03:26 +0000 (11:03 +0100)
committerRobert Varga <nite@hq.sk>
Thu, 23 Feb 2023 16:57:06 +0000 (16:57 +0000)
oauth2 was removed as part of AAA-173, but the documentation
was not updated. Fix that up.

JIRA: AAA-249
Change-Id: I405a2317c9ec0a4dfd0b7550afe557255b4d69cf
Signed-off-by: Peter Suna <peter.suna@pantheon.tech>
docs/user-guide.rst

index 430ad211e9329efc028404f5e15b58992713cf65..31faa639a448823cd4019537a5b913ae2ed79d2c 100644 (file)
@@ -634,37 +634,6 @@ Create a new 'test' domain
         "enabled": true
     }
 
-Create an OAuth2 Token For Admin Scoped to SDN
-''''''''''''''''''''''''''''''''''''''''''''''
-
-::
-
-    curl -d 'grant_type=password&username=admin&password=a&scope=sdn' http://localhost:8181/oauth2/token
-
-    OUTPUT:
-    {
-        "expires_in":3600,
-        "token_type":"Bearer",
-        "access_token":"5a615fbc-bcad-3759-95f4-ad97e831c730"
-    }
-
-Use an OAuth2 Token
-'''''''''''''''''''
-
-::
-
-    curl -H "Authorization: Bearer 5a615fbc-bcad-3759-95f4-ad97e831c730" http://localhost:8181/auth/v1/domains
-    {
-        "domains":
-        [
-            {
-                "domainid":"sdn",
-                "name":"sdn”,
-                "description":"default odl sdn domain",
-                "enabled":true
-            }
-        ]
-    }
 
 **Token Store Configuration Parameters**
 ########################################