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

相关推荐
对空六课9 分钟前
Vue 组件曝光埋点为什么会重复触发?去重方案与实现思路
服务器·前端·算法·数据分析
Hello_Pyhx26 分钟前
Ventoy:Linux制盘与排障
linux·运维·服务器
小义_1 小时前
Linux 补充
linux·服务器
晴天的雨.9921 小时前
【Linux】Shell 命令以及运行原理+权限管理
linux·运维·服务器
djjjx.2 小时前
Linux工具篇 (六):GDB 调试从底层逻辑到高阶实战
linux·运维·服务器·gdb
IT大白鼠2 小时前
彭大帅的AI运维助手实战案例 5 · 新接手的服务器,先让 AI 摸底
运维·服务器·人工智能
该逃避避2 小时前
出海广告跑不起来怎么办?动态住宅IP助力广告跑量
运维·服务器·网络
一条泥憨鱼3 小时前
【从0开始学习计算机网络】| ip协议-ttl-标识-分片偏移-ip分片与重组
运维·服务器·网络
天启HTTP12 小时前
爬虫防封核心原理:IP轮换机制与风控规避逻辑
linux·服务器·网络·爬虫·tcp/ip
运维行者_12 小时前
网络性能监控怎么做?从自动发现到根因分析的4个环节
运维·服务器·网络·人工智能·支持向量机