<script src="https://unpkg.com/mermaid@8.13.3/dist/mermaid.min.js"></script>
<div> 
  <h3>Auth - preprocess</h3>
  <div class="mermaid">
    graph TD
    A[start] --> B(Event to Request)
    B --> C{preflight?}
    C -->|No| D(extract token)
    C -->|Yes| F[Error Code: preflight]
    D --> G{error?}
    G -->|No| I[Error Code: nil]
    G -->|Yes| H[Error Code: jwtextract]


  </div>
</div>
body {
  font-family: system-ui;
  background: #FFFCEB;
  color: black;
  text-align: center;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.