notes/cisco_ft_securex_registration.org
This commit is contained in:
parent
6bf7782ec3
commit
a20bcc1033
1 changed files with 9 additions and 6 deletions
|
@ -298,14 +298,17 @@ because this web service already support access to non login users.
|
||||||
So have a new ~GET~ endpoint; ideally:
|
So have a new ~GET~ endpoint; ideally:
|
||||||
|
|
||||||
#+begin_src http
|
#+begin_src http
|
||||||
GET /iroh/iroh-auth/org-access-request-approval
|
GET /iroh/iroh-auth/org-access-request-approval?code=ENCRYPTED_DATA
|
||||||
?org-access-request-id=ORG_ACCESS_REQUEST_ID
|
|
||||||
&org-access-request-secret=ORG_ACCESS_REQUEST_SECRET
|
|
||||||
&action=APPROVAL_STATUS
|
|
||||||
&approver-id=ENCRYPTED_USER_ID
|
|
||||||
&role=ROLE
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Where ~ENCRYPTED_DATA~ should contain the following:
|
||||||
|
|
||||||
|
- ~org-access-request-id~
|
||||||
|
- ~org-access-request-secret~
|
||||||
|
- ~action~ ; either accepted or rejected
|
||||||
|
- ~role~ ; optional and only if accepted
|
||||||
|
- ~approver-id~ ; user-id of the approver
|
||||||
|
|
||||||
- ~action~ could be ~accepted~ or ~rejected~
|
- ~action~ could be ~accepted~ or ~rejected~
|
||||||
- So ~role~ should be optional and if none is provided should default to ~user~.
|
- So ~role~ should be optional and if none is provided should default to ~user~.
|
||||||
- ~approver-id~ must be an encrypted ~user-id~ (we need to encrypt that to
|
- ~approver-id~ must be an encrypted ~user-id~ (we need to encrypt that to
|
||||||
|
|
Loading…
Reference in a new issue