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

相关推荐
Madison-No74 小时前
搭建项目测试环境
linux·运维·服务器·python
悠悠121385 小时前
微服务通信别只看性能:REST 与 gRPC 的 6 个选型判断和一次 502 故障复盘
运维·服务器
云老大-阿里云国际站代理商7 小时前
华为云国际站服务代理商:NAT网关怎么配?多台ECS共用公网IP要注意什么
服务器·华为云·云计算
浅念-10 小时前
Redis基础详解:单线程模型、String与Hash数据结构
服务器·数据库·redis·sql·mysql·nosql数据库·nosql
Shadow(⊙o⊙)10 小时前
Linux进阶知识1.0
linux·运维·服务器
剑指offer.11 小时前
ARM裸机开发-点亮LED灯
linux·服务器·嵌入式硬件
Wang's Blog11 小时前
Java 接入Redis: 使用Jedis操作Redis
java·服务器·redis
Ivanqhz12 小时前
数据搬运是性能关键
java·服务器·网络·人工智能·深度学习
其实防守也摸鱼12 小时前
常见安全架构中 Shiro 的认证确认机制解析
运维·服务器·数据库·windows·github
Julien200412 小时前
自动挂载网络附加存储
linux·服务器·网络