Replies: 2 comments 2 replies
-
you can use you can also set as for setting also meshcentral doesnt know what in theory according to the source, meshcentral used the |
Beta Was this translation helpful? Give feedback.
-
Oh interesting, O.K., So I suppose I wasn't far off from getting as close to my intended end result as hoped. For Meshcentral then, it seems that it's not possible to have the existing user detected as such, from what it seems you're saying? In which case, best practice would be just to create a "local" root account, then an OIDC account for myself to use with lesser permissions, I think. Appreciate your quick and helpful response! |
Beta Was this translation helpful? Give feedback.
-
Hi all, I recently migrated my entire self-hosted server platform from TrueNAS and Truecharts apps with a Traefik reverse proxy to Proxmox, Debian VMs, Docker containers, and an NPMplus reverse proxy.
One of the things I had been in the midst of implementing was SSO via Authentik for as many apps as possible. Meshcentral seems to have very robust OIDC support (and other SSO support) so I was excited to get it going. However, I seem to have run into two issues:
Ideally I'd like to bypass the Meshcentral login page and just have Authentik's login page appear instead, and upon login, kick the user right into Meshcentral - right now I just see the OIDC button at the bottom of the Meshcentral login screen.
After a LOT of trial and error and effort, OIDC login works - if I have "newAccounts" set to true in my config.json - if it's false, it just fails and says no existing account was found. However, I was hoping to have the login pass through and check for existing accounts and log into something tied by e-mail address or username (to an Authentik user). Frankly, I'm a bit of a noob on this, so I'm not surprised if I did this wrong. But it seems to create a new user, with the same e-mail address an existing one - though the list of users does show a little OIDC badge/icon on it, and the username seems to have some leading "oidc://" part to it.
I'm hoping I've just done something stupid and obvious to the more experienced folks here, and it's an easy fix (for both issues).
Please bear with me as I share a bunch of configs and screenshots, would mega-appreciate any guidance!
Here is my current Docker compose for Meshcentral:
Here is my Meshcentral config.json:
Here's the Authentik provider setup:
Here's my Authentik app setup for Meshcentral:
And lastly, here's how my NPMplus is setup:
Here's the NPMplus advanced tab (seems smarter to just paste the code):
Beta Was this translation helpful? Give feedback.
All reactions