Remove oauth2 example from docs 65/105065/2
authorPeter Suna <peter.suna@pantheon.tech>
Tue, 21 Feb 2023 10:03:26 +0000 (11:03 +0100)
committerPeter Suna <peter.suna@pantheon.tech>
Wed, 12 Apr 2023 17:41:48 +0000 (19:41 +0200)
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>
(cherry picked from commit f2aeac6532170a66a1d4c1de41bcf117faa6c0e9)

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**
 ########################################