mirror of
https://github.com/remnawave/panel.git
synced 2026-04-24 00:31:35 +00:00
docs: add Custom Claims authorization method for PocketID
This commit is contained in:
@@ -15,3 +15,22 @@ After creating the OAuth2 application – copy the `Client ID` and `Client Secre
|
||||
|
||||
In the `Plain Domain` field, enter the domain address where your PocketID is located.
|
||||
Just enter the domain name – without the path and `https://`, for example: `pocketid.your-domain.com`
|
||||
|
||||
### Custom Claims (v2.4.0+)
|
||||
|
||||
Remnawave also supports authorization using Custom Claims.
|
||||
When using this method, you do not need to specify an array of email addresses.
|
||||
|
||||
Key
|
||||
|
||||
```
|
||||
remnawaveAccess
|
||||
```
|
||||
|
||||
Value
|
||||
|
||||
```
|
||||
true
|
||||
```
|
||||
|
||||
Accordingly, if a user has this key (`remnawaveAccess: true`) in their token, they will be authorized.
|
||||
|
||||
@@ -15,3 +15,22 @@ After creating the OAuth2 application – copy the `Client ID` and `Client Secre
|
||||
|
||||
In the `Plain Domain` field, enter the domain address where your PocketID is located.
|
||||
Just enter the domain name – without the path and `https://`, for example: `pocketid.your-domain.com`
|
||||
|
||||
### Custom Claims (v2.4.0+)
|
||||
|
||||
Remnawave also supports authorization using Custom Claims.
|
||||
When using this method, you do not need to specify an array of email addresses.
|
||||
|
||||
Key
|
||||
|
||||
```
|
||||
remnawaveAccess
|
||||
```
|
||||
|
||||
Value
|
||||
|
||||
```
|
||||
true
|
||||
```
|
||||
|
||||
Accordingly, if a user has this key (`remnawaveAccess: true`) in their token, they will be authorized.
|
||||
|
||||
@@ -14,3 +14,22 @@ https://YOUR_PANEL_DOMAIN/oauth2/callback/pocketid
|
||||
После создания OAuth2 приложения – скопируйте `Client ID` и `Client Secret`. Вставьте эти данные в соответствующем разделе. А чуть ниже введите список email-адресов для которых будет разрешен вход.
|
||||
|
||||
В поле `Домен` (`Plain Domain`) введите доменный адрес, на котором у вас расположен PocketID. Достаточно ввести просто доменное имя – без пути и https://, например: `pocketid.your-domain.com`
|
||||
|
||||
### Custom Claims (v2.4.0+)
|
||||
|
||||
Remnawave так же поддерживает авторизацию через добавление Custom Claims.
|
||||
При использовании этого метода, массив email-адресов можно не указывать.
|
||||
|
||||
Ключ
|
||||
|
||||
```
|
||||
remnawaveAccess
|
||||
```
|
||||
|
||||
Значение
|
||||
|
||||
```
|
||||
true
|
||||
```
|
||||
|
||||
Соотвественно, если пользователь имеет этот ключ (`remnawaveAccess: true`) в токене, то он будет авторизован.
|
||||
|
||||
@@ -15,3 +15,22 @@ After creating the OAuth2 application – copy the `Client ID` and `Client Secre
|
||||
|
||||
In the `Plain Domain` field, enter the domain address where your PocketID is located.
|
||||
Just enter the domain name – without the path and `https://`, for example: `pocketid.your-domain.com`
|
||||
|
||||
### Custom Claims (v2.4.0+)
|
||||
|
||||
Remnawave also supports authorization using Custom Claims.
|
||||
When using this method, you do not need to specify an array of email addresses.
|
||||
|
||||
Key
|
||||
|
||||
```
|
||||
remnawaveAccess
|
||||
```
|
||||
|
||||
Value
|
||||
|
||||
```
|
||||
true
|
||||
```
|
||||
|
||||
Accordingly, if a user has this key (`remnawaveAccess: true`) in their token, they will be authorized.
|
||||
|
||||
Reference in New Issue
Block a user