Merge pull request 'readme' (#1) from readme into main
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
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