Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions website/integrations/services/meshcentral/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
title: MeshCentral
---

<span class="badge badge--secondary">Support level: Community</span>

## What is MeshCentral

> MeshCentral is a free, open source, web-based platform for remote device management.
>
> -- https://meshcentral.com

## Preparation

The following placeholders will be used:

- `meshcentral.company` is the FQDN of the MeshCentral install.
- `authentik.company` is the FQDN of the authentik install.

## authentik configuration

Create an OAuth2/OpenID provider with the following parameters:
Comment thread
axemann marked this conversation as resolved.

- Client Type: `Confidential`
- Redirect URIs: `https://meshcentral.company/auth-oidc-callback`
- Scopes: OpenID, Email and Profile
- Signing Key: Select any available key

Note the Client ID and Client Secret values.

Next, create an application, using the provider you've created above.

## MeshCentral configuration

Edit the `config.json` for your MeshCentral deployment, and add the following code in the `domains:` subsection:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add where the config json is located? if needed


```json
"domains": {
(...)
"authStrategies": {
"oidc": {
"issuer": "https://authentik.company/application/o/meshcentral/",
"clientid": "<Client ID>",
"clientsecret": "<Client Secret>",
"newAccounts": true
}
},
(...)
```
> For Docker deployments, this file should be located in the host directory you mapped to `/opt/meshcentral/meshcentral-data` in the container.

> Remember to follow JSON formatting rules.

Restart the MeshCentral server instance and browse to `https://meshcentral.company`, and you should be greeted with a new button to allow signing in with OIDC:

![MeshCentral sign-in page with OIDC enabled](meshcentral.png)

> Should you need to enable any advanced OIDC configurations, please see [Using the OpenID Connect Strategy on MeshCentral](https://ylianst.github.io/MeshCentral/meshcentral/openidConnectStrategy/).
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions website/sidebarsIntegrations.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ module.exports = {
"services/harbor/index",
"services/hashicorp-vault/index",
"services/jenkins/index",
"services/meshcentral/index",
"services/minio/index",
"services/netbox/index",
"services/pgadmin/index",
Expand Down