操作系统应用开发(二十八)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) .

相关推荐
无忧.芙桃7 小时前
Linux系统编程(四):用户与权限管理
linux·运维·服务器
最强小杰8 小时前
某 OpenAI 兼容网关上的 `kimi-k3.1-pro`:Cline、Zed 接入与 SSE 排错示例
java·服务器·网络·ai
张小姐的猫12 小时前
【基于 WebSocket 的多用户网页五子棋】—— 整合封装服务器模块设计实现2️⃣
服务器·websocket·网络协议
HMS工业网络12 小时前
工业远程访问的五项安全部署原则
运维·服务器·安全
星恒随风14 小时前
MySQL 从零入门(九):事务管理详解——ACID、COMMIT、ROLLBACK、SAVEPOINT 与四种隔离级别
linux·服务器·数据库·笔记·mysql
IT大白鼠15 小时前
eBPF 观测入门:用 bpftrace 给服务器装上“内核摄像头“
运维·服务器·ebpf
星恒随风15 小时前
MySQL 从零入门(十一):视图与用户权限管理详解
linux·服务器·数据库·笔记·mysql
布莱克60518 小时前
Swift 闭包详解:从语法到实战的完整指南
服务器·开发语言·ios·ssh·swift·闭包
橙橙子23018 小时前
Linux----libevent
linux·运维·服务器
无足鸟ICT20 小时前
【RHCA+】numactl命令(管理numa)
linux·运维·服务器