Compare commits

...

3 Commits

Author SHA1 Message Date
2b3e26ba70 killed useless piece of documentation 2026-03-04 23:10:07 +02:00
e3c6e29b9a Merge pull request 'readme' (#1) from readme into main
Reviewed-on: #1
2026-03-04 21:09:37 +00:00
636878bf1f readme 2026-03-04 21:09:37 +00:00
2 changed files with 16 additions and 3 deletions

View File

@@ -1,3 +0,0 @@
# mikoauth
Auth service for server

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]
```