notes/new_iroh_auth_apis.org
This commit is contained in:
parent
f6929dc999
commit
a4a98c0b7b
1 changed files with 4 additions and 4 deletions
|
@ -13,9 +13,9 @@ With https://github.com/advthreat/iroh/pull/6247 you can now put a specific
|
|||
JWT middleware configuration for a Web API.
|
||||
|
||||
So here we just need to provide a new specific function to check JWT to
|
||||
accepts the new UserIdentity-level JWTs.
|
||||
So have a function inspired by ~iroh-web.core/check-jwt-fields~,
|
||||
see: https://github.com/advthreat/iroh/blob/master/lib/iroh-web/src/iroh_web/core.clj#L138
|
||||
accept the new UserIdentity-level JWTs.
|
||||
So have a function inspired by ~iroh-web.core/check-jwt-fields~, see:
|
||||
https://github.com/advthreat/iroh/blob/master/lib/iroh-web/src/iroh_web/core.clj#L138
|
||||
|
||||
The main differences should be:
|
||||
|
||||
|
@ -34,4 +34,4 @@ field of the ring request.
|
|||
(ok (:identity req)))
|
||||
#+end_src
|
||||
|
||||
From there we will have successfully build an IROH-Auth level session.
|
||||
From there we will have successfully built an IROH-Auth level session.
|
||||
|
|
Loading…
Reference in a new issue