tracker.org
This commit is contained in:
parent
60d51487cf
commit
cb4fb94e8a
1 changed files with 13 additions and 1 deletions
14
tracker.org
14
tracker.org
|
@ -3840,4 +3840,16 @@ Given a classical OAuth2 Auth code client with:
|
|||
|
||||
Make the following HTTP call:
|
||||
|
||||
curl -X POST "http://localhost:9001/iroh/oauth2/csrf-token" -H "accept: application/json" -H "authorization: Bearer $JWT" -H "Content-Type: application/x-www-form-urlencoded" -d "client_id=localtest&scope=inspect"
|
||||
#+begin_src
|
||||
curl -X POST "http://localhost:9001/iroh/oauth2/csrf-token" \
|
||||
-H "accept: application/json" \
|
||||
-H "authorization: Bearer $JWT" \
|
||||
-H "Content-Type: application/x-www-form-urlencoded" \
|
||||
-d "client_id=localtest&scope=inspect"
|
||||
#+end_src
|
||||
|
||||
Then
|
||||
|
||||
#+begin_src
|
||||
|
||||
#+end_src
|
||||
|
|
Loading…
Reference in a new issue