OAuth2 Configuration
OAuth2 allows you to authenticate to Remnawave dashboard using one of the configured providers.

Remnawave supports the following providers:
- Telegram (follow this guide to configure)
- GitHub
- Yandex
- PocketID
Githubβ
Create an OAuth applicationβ
You will need to create an OAuth application in Github.
Follow this link to create an application: https://github.com/settings/applications/new
# Replace YOUR_PANEL_DOMAIN with your panel domain
https://YOUR_PANEL_DOMAIN/oauth2/callback/github
Don't forget to set the correct callback URL. Change YOUR_PANEL_DOMAIN to your panel domain.
Configuring OAuth2 in Remnawaveβ
- Open Remnawave Panel and move to
Remnawave Settings->Authentication Methods. - Select desired method and click on it to open configuration.
- Click on
Enablebutton. - Enter Client ID and Client Secret.
- Enter List of allowed emails.
- Click on
Savebutton.
PocketIDβ
Create an OIDC Clientβ
Login to your self-hosted PocketID instance and go to Settings β OIDC Clients β Add OIDC Client.
# Replace YOUR_PANEL_DOMAIN with your panel domain
https://YOUR_PANEL_DOMAIN/oauth2/callback/pocketid
Don't forget to set the correct callback URL. Change YOUR_PANEL_DOMAIN to your panel domain.
Yandexβ
It is not recommended to use Yandex OAuth2 for self-hosted Remnawave instances.
Create an OAuth applicationβ
You will need to create an OAuth application in Yandex.
Follow this link to create an application: https://oauth.yandex.com/client/new
In the second step of creation select "Web application" and set the following callback URL:
# Replace YOUR_PANEL_DOMAIN with your panel domain
https://YOUR_PANEL_DOMAIN/oauth2/callback/yandex
Don't forget to set the correct callback URL. Change YOUR_PANEL_DOMAIN to your panel domain.
In the third step of creation allow "Access to email address", no other permissions are needed.