Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 603 Bytes

AUTH.md

File metadata and controls

19 lines (16 loc) · 603 Bytes

flow to access in dev mode the public API

flowchart TD
    A[end user request] -->|1. initial request| B(Oathkeeper)
    B -->|2. verify authentication| C[kratos]
    C -->|validate authentication, return userId| B
    B -->|with JWT containing userId| D(public API)
Loading

flow to access in dev mode the admin API

flowchart TD
    A[Bank owner request] -->|1. initial request| B(Oathkeeper)
    B -->|2. verify authentication| C[Admin-panel next-auth session API endpoint]
    C -->|validate authentication, return userId| B
    B -->|with JWT containing userId| D(admin API)
Loading