commit 2df5fe3406a3b8e88cb60de75a251d01a462a83a Author: Mikhail Maliugin Date: Wed Mar 4 23:09:07 2026 +0200 readme diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..a2fbfc9 --- /dev/null +++ b/readme.md @@ -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] +```