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

相关推荐
Sinclair2 天前
简单几步,安卓手机秒变服务器,安装 CMS 程序
android·服务器
Rockbean3 天前
用40行代码搭建自己的无服务器OCR
服务器·python·deepseek
茶杯梦轩3 天前
CompletableFuture 在 项目实战 中 创建异步任务 的核心优势及使用场景
服务器·后端·面试
海天鹰4 天前
【免费】PHP主机=域名+解析+主机
服务器
不是二师兄的八戒4 天前
Linux服务器挂载OSS存储的完整实践指南
linux·运维·服务器
芝士雪豹只抽瑞克五4 天前
Nginx 高性能Web服务器笔记
服务器·nginx
失重外太空啦4 天前
Tomcat
java·服务器·tomcat
Henry Zhu1234 天前
数据库:并发控制基本概念
服务器·数据库
茶杯梦轩4 天前
从零起步学习并发编程 || 第九章:Future 类详解及CompletableFuture 类在项目实战中的应用
服务器·后端·面试
ZeroNews内网穿透4 天前
谷歌封杀OpenClaw背后:本地部署或是出路
运维·服务器·数据库·安全