Compare commits
3 Commits
c542b6541f
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
2b3e26ba70
|
|||
|
e3c6e29b9a
|
|||
| 636878bf1f |
16
readme.md
Normal file
16
readme.md
Normal 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]
|
||||
```
|
||||
Reference in New Issue
Block a user