Skip to content

OAuth / OIDC

You can authenticate users with an OAuth2 provider, like GitHub or Google, or a custom OpenID Connect provider, like Authelia or Zitadel.

Redirect URL

When creating your OAuth2 app, use <your-beszel-url>/api/oauth2-redirect as the callback/redirect URL.

Setup

  1. Toggle off the "Hide collection create and edit controls" switch on /_/#/settings.

hide-collection-create-and-edit-controls

  1. Edit the users collection.

edit-users-collection

  1. In the "Options" tab, enable OAuth2 and add your provider.

edit-users-collection-options

  1. Toggle the switch back on in /_/#/settings.

hide-collection-create-and-edit-controls

Automatic user creation

Beszel does not allow automatic user creation by default. To enable it, set USER_CREATION=true in the hub environment variables.

Supported providers

  • Apple
  • Bitbucket
  • Discord
  • Facebook
  • Gitea
  • Gitee
  • GitHub
  • GitLab
  • Google
  • Instagram
  • Kakao
  • Linear
  • LiveChat
  • mailcow
  • Microsoft
  • monday.com
  • Notion
  • OpenID Connect
  • Patreon (v2)
  • Spotify
  • Strava
  • Twitch
  • Twitter
  • VK
  • WakaTime
  • Yandex

Released under the MIT License