Replies: 1 comment
-
Since Mkdocs is a static site generator it is not designed for this. There no way around a hosted web server. The integrated web server is not suitable for production environments so I would not advise building around it.
I haven't done it myself but I would go for option 1 first and otherwise use a reverse proxy with auth. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I'm currently using mkdocs-material for internal documentation, and I’d like to secure access using OAuth2. Most guides I've seen (including in past discussions) recommend using a reverse proxy like nginx to handle the OAuth2 flow externally.
However, I'm wondering: Is there a native MkDocs plugin (or an officially recommended one) that can handle OAuth2 authentication directly, without needing to delegate it to nginx or another reverse proxy?
Ideally, it would:
If not, are there any known community efforts or best practices around this that you would recommend?
Thanks in advance for any pointers!
Best,
François
Beta Was this translation helpful? Give feedback.
All reactions