17 lines
502 B
Markdown
17 lines
502 B
Markdown
# mikoauth
|
|
|
|
Auth pipeline for now:
|
|
```mermaid
|
|
graph TD
|
|
A[Auth pipeline] --> B(somesubdomain.miko089.space)
|
|
B --> C[check auth]
|
|
C --> D(auth.miko089.space/?return_to=somesubdomain.miko089.space)
|
|
D --> E{is there a session?}
|
|
E -- yes --> F[add header with username and email]
|
|
F -- with necessary data --> B
|
|
E -- no --> G[window to authorize or register and then ask for a session on that page]
|
|
G --> H{session accepted?}
|
|
H -- yes --> D
|
|
H -- no --> S[401 end]
|
|
```
|