Azure -> azure
@@ -0,0 +1,38 @@
|
||||
---
|
||||
title: Azure
|
||||
weight: 16
|
||||
---
|
||||
|
||||
### Konfiguration
|
||||
|
||||
1. Melden Sie sich beim [Azure-Portal](https://portal.azure.com) an.
|
||||
2. Suchen und wählen Sie **Microsoft Entra ID**.
|
||||
3. Wählen Sie im linken Menü [**App registrations**](https://portal.azure.com/#view/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/~/RegisteredApps) und klicken Sie **New registration**.
|
||||

|
||||
4. Öffnen Sie die RustDesk Pro-Konsole und klicken Sie auf der Seite **Einstellungen** auf das Modul **OIDC**. Kopieren Sie dann die **Callback-URL**. **Hinweis**: Die **Callback-URL** ist nicht editierbar, der Teil `Pfad` ist auf `api/oidc/callback` festgelegt und der Teil `Protokoll://Host:Port` ist der Ursprung der aktuellen Webseite. Wenn Sie sie über die Adresse `http://localhost:8000/<Pfad>` öffnen, lautet die **Callback-URL** `http://localhost:8000/api/oidc/callback`. Wenn Sie sie über die Adresse `https://192.168.0.1:8000/<Pfad>` öffnen, dann ist die **Callback-URL** `https://192.168.0.1:8000/api/oidc/callback`. Da Azure `https://` oder `http://localhost` verwenden muss, wählen Sie bitte die entsprechende Adresse, um Ihre RustDesk Pro-Konsole zu öffnen.
|
||||

|
||||

|
||||
5. Geben Sie den **Namen** ein, wählen Sie die **Unterstützten Kontotypen** aus und fügen Sie die **Redirect URI** von RustDesk Pro ein.
|
||||

|
||||
6. Klicken Sie in RustDesk Pro auf **Neuer Autorisierungsanbieter**.
|
||||

|
||||
7. Wählen Sie in Azure die Anwendung aus, die Sie verwenden möchten, klicken Sie auf **Übersicht** und kopieren Sie die **Anwendungs-(Client-)ID**.
|
||||

|
||||
8. Fügen Sie in RustDesk Pro die **Client-ID** ein.
|
||||

|
||||
9. Erstellen Sie in Azures **Zertifikate und Geheimnisse** ein neues oder wählen Sie ein Client-Geheimnis aus, normalerweise ein neues.
|
||||

|
||||
10. Kopieren Sie in Azure den Wert des Client-Geheimnisses. **Hinweis**: Dieser Wert ist nur sichtbar, wenn Sie sich zum ersten Mal registrieren. Nachdem Sie die Seite verlassen haben, ist er nicht mehr sichtbar. Bitte bewahren Sie diesen Wert gut auf.
|
||||

|
||||
11. Fügen Sie in RustDesk Pro den Wert für das Client-Geheimnis ein.
|
||||

|
||||
12. Füllen Sie in RustDesk Pro das Feld **Issuer** mit `https://login.microsoftonline.com/<Directory (tenant) ID>/v2.0` aus. Bitte ersetzen Sie `Directory (tenant) ID` durch Ihre **Directory (tenant) ID**. Die **Directory (tenant) ID** befindet sich im Fenster **Übersicht** der Azure-App.
|
||||

|
||||

|
||||
13. Wählen Sie in Azure das Menü **Authentifizierung**. Richten Sie dann die Autorisierung ein, indem Sie **ID-Token (Implizite Genehmigung und hybride Flows)** wählen.
|
||||

|
||||
|
||||
### Referenzen
|
||||
|
||||
- [OpenID Connect-Anbieter einrichten mit Azure AD](https://learn.microsoft.com/de-de/power-pages/security/authentication/openid-settings)
|
||||
- [OpenID Connect auf Microsoft Identity Platform](https://learn.microsoft.com/de-de/azure/active-directory/develop/v2-protocols-oidc)
|
||||
@@ -0,0 +1,38 @@
|
||||
---
|
||||
title: Azure
|
||||
weight: 16
|
||||
---
|
||||
|
||||
### Configuration
|
||||
|
||||
1. Sign in to the [Azure portal](https://portal.azure.com).
|
||||
2. Search for and select **Microsoft Entra ID**.
|
||||
3. In the left menu, select [**App registrations**](https://portal.azure.com/#view/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/~/RegisteredApps), click **New registration**.
|
||||

|
||||
4. Open the RustDesk Pro console, in the **Settings** page, click the **OIDC** module. Then copy the **Callback URL**. **Note**: The **Callback URL** is not editable, the `Path` part is fixed to `api/oidc/callback`, and the `Protocol://Host:Port` part is the origin of the current web page. If you open it through the address `http://localhost:8000/<path>`, then the **Callback URL** is `http://localhost:8000/api/oidc/callback`. If you open it through the address `https://192.168.0.1:8000/<path>` is opened, then the **Callback URL** is `https://192.168.0.1:8000/api/oidc/callback`. Because Azure must use `https://` or `http://localhost`, please select the appropriate address to open your RustDesk Pro console.
|
||||

|
||||

|
||||
5. Input the **Name**, select the **Supported account types**, and paste the **Redirect URI** from RustDesk Pro.
|
||||

|
||||
6. In RustDesk Pro, click **New auth provider**.
|
||||

|
||||
7. In Azure, select the application you want to use, click **Overview**, and copy the **Application (client) ID**.
|
||||

|
||||
8. In RustDesk Pro, paste the **Client ID**.
|
||||

|
||||
9. In Azure, **Certificates & secrets**, create a new or select a client secret, usually New.
|
||||

|
||||
10. In Azure, copy the value of the client secret. **Note**: This value is only visible when you first register. It is no longer visible after you leave the page. Please keep this value properly.
|
||||

|
||||
11. In RustDesk Pro, paste the value for the client secret.
|
||||

|
||||
12. In RustDesk Pro, fill in the **Issuer** field with `https://login.microsoftonline.com/<Directory (tenant) ID>/v2.0`. Please replace `Directory (tenant) ID` with your **Directory (tenant) ID**. The **Directory (tenant) ID** is in Azure's app **Overview** panel.
|
||||

|
||||

|
||||
13. In Azure, select **Authentication** menu. Then set up authorization, by choosing **ID tokens (used for implicit and hybrid flows)**.
|
||||

|
||||
|
||||
### References
|
||||
|
||||
- [Set up an OpenID Connect provider with Azure AD](https://learn.microsoft.com/en-us/power-pages/security/authentication/openid-settings)
|
||||
- [OpenID Connect on the Microsoft identity platform](https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-protocols-oidc)
|
||||
@@ -0,0 +1,42 @@
|
||||
---
|
||||
title: Azure
|
||||
weight: 16
|
||||
---
|
||||
|
||||
## 配置
|
||||
|
||||
1. 登录 [Azure 门户](portal.azure.com)。
|
||||
2. 查找并选择 **Microsoft Entra ID**。
|
||||
3. 选择左侧菜单的 [**应用注册**](https://portal.azure.com/#view/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/~/RegisteredApps),点击 **新注册**。
|
||||

|
||||
4. 打开 RustDesk Pro 控制台,进入 **设置** 页,点击 **OIDC** 模块,复制 **Callback url** 。**注**:**Callback url** 是不可编辑的,`Path`部分固定是`api/oidc/callback`,`Protocol://Host:Port` 部分是当前网页的值。如您是通过地址 `http://localhost:8000/<path>` 打开的,那么 **Callback url** 就是 `http://localhost:8000/api/oidc/callback` ,如果您是通过地址 `https://192.168.0.1:8000/<path>` 打开的,那么 **Callback url** 就是 `https://192.168.0.1:8000/api/oidc/callback` 。因为 Azure 必须用 `https://` 或者 `http://localhost` ,请选择合适的地址打开您的 RustDesk Pro 控制台。
|
||||

|
||||

|
||||
5. 输入 **名称** ,选择 **受支持的帐户类型** ,粘贴刚才复制的 **重定向 URI**。
|
||||

|
||||
6. 在 RustDesk Pro 中,点击 **New auth provider**。
|
||||

|
||||
7. 在 Azure 中,选择你想使用的应用,点击 **概要**,拷贝 **应用程序(客户端) ID**。
|
||||

|
||||
8. 在 RustDesk Pro 中,粘贴 **Client id** 。
|
||||

|
||||
9. 在 Azure 中, **证书和密码** ,新建或选择 **客户端密码**,一般是新建。
|
||||

|
||||
10. 在 Azure 中,复制出客户端密码的值。**注**:只有刚注册时,这个值才是可见的,离开页面后不再可见,请妥善保管这个值。
|
||||

|
||||
11. 在 RustDesk Pro 中,粘贴客户端密码的值。
|
||||

|
||||
12. 在 RustDesk Pro 中,填入 **Issuer** 字段,`https://login.microsoftonline.com/<Directory (tenant) ID>/v2.0`。请将 `Directory (tenant) ID` 替换为您的 **目录(租户) ID**。**目录(租户) ID** 在 Azure 的应用 **概要** 面板中。
|
||||

|
||||

|
||||
13. 在 Azure 中, 选择 **身份验证** 菜单,设置授权,选择 **ID 令牌(用于隐式流和混合流)** 。
|
||||

|
||||
|
||||
|
||||
## 故障排除
|
||||
|
||||
## 参考
|
||||
|
||||
- [openid-settings](https://learn.microsoft.com/en-us/power-pages/security/authentication/openid-settings)
|
||||
- [v2-protocols-oidc](https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-protocols-oidc)
|
||||
|
||||
|
After Width: | Height: | Size: 323 KiB |
|
After Width: | Height: | Size: 360 KiB |
|
After Width: | Height: | Size: 329 KiB |
|
After Width: | Height: | Size: 156 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 241 KiB |
|
After Width: | Height: | Size: 106 KiB |
|
After Width: | Height: | Size: 317 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 108 KiB |
|
After Width: | Height: | Size: 162 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 33 KiB |