This commit is contained in:
2026-03-04 23:09:07 +02:00
commit 2df5fe3406

16
readme.md Normal file
View File

@@ -0,0 +1,16 @@
# 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]
```