操作系统应用开发(二十八)rust OIDC服务器—东方仙盟筑基期

Configuration

  1. Search for and select Microsoft Entra ID.

  2. In the left menu, select click New registration .

  3. 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.

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

  5. In RustDesk Pro, click New auth provider .

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

  7. In RustDesk Pro, paste the Client ID .

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

  9. 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.

  10. In RustDesk Pro, paste the value for the client secret.

  11. 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.

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

相关推荐
zzzzzz3101 天前
9K Star 炸裂开源!这个 C 语言写的代码知识图谱,把 Linux 内核索引压缩到了 3 分钟
linux·服务器·sql
大树885 天前
金刚石散热越强,管路越先见顶
大数据·运维·服务器·人工智能·ai
小宇宙Zz5 天前
Maven依赖冲突
java·服务器·maven
古城小栈5 天前
Unix 与 Linux 异同小叙
linux·服务器·unix
程序猿阿伟5 天前
《Chrome离线扩展安装的底层逻辑与场景落地指南》
服务器·网络·chrome
凡人叶枫5 天前
Effective C++ 条款42:了解 typename 的双重意义
java·linux·服务器·c++
AC赳赳老秦5 天前
用 OpenClaw 搭建服务器故障应急响应系统,自动处理 80% 常见运维故障
android·运维·服务器·python·rxjava·deepseek·openclaw
java_cj5 天前
深入kube-apiserver认证机制:从Bearer Token到mTLS的完整认证链解析
linux·运维·服务器·云原生·容器·kubernetes
lsyeei5 天前
linux 系统目录详解
linux·运维·服务器
森G5 天前
75、服务器源码解析---------云视频服务项目
linux·服务器·网络·c++·qt