Direct links to API Center documentation fail with AADSTS50011 redirect URI mismatch
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- azure
- Lĩnh vực
- api, authentication
Hướng nghiên cứu
Tái hiện lỗi bằng URL trực tiếp đến tài liệu API, sau đó so sánh với việc đăng nhập từ gốc của portal. Truy vết chuyển hướng Entra ID và trạng thái xác thực riêng của tab được mô tả trong issue. Được xem là hoàn tất khi các liên kết trực tiếp tải được sau khi xác thực, chuyển hướng sử dụng URI root hoặc callback, và đường dẫn API được yêu cầu được giữ nguyên.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
Navigating directly to a specific API's documentation URL fails to load the resource and breaks the Entra ID authentication flow. Users cannot deep-link or share direct API documentation pages with team members.
Reproduction steps
Steps to reproduce the behavior:
- Copy a direct link to an API definition: https://.portal..azure-apicenter.ms/apis/
- Open the link in an unauthenticated or fresh browser session (or a new tab/window).
- Observe the page error: "The specified API does not exist."
- Click Sign in.
- Observe the Entra ID sign-in failure error: AADSTS50011.# Expected behavior
Actual behavior
-
The page displays "The specified API does not exist." when accessed directly.
-
Attempting to authenticate from the deep link fails with:
-
AADSTS50011: The redirect URI 'https://.portal..azure-apicenter.ms/apis/' specified in the request does not match the redirect URIs configured for the application ''.
Auth state appears isolated to single-tab memory/session storage rather than persisting across tabs via cookies, breaking multi-tab workflows.
Expected behavior
-
Direct links should resolve correctly.
-
If unauthenticated, the portal should initiate the OAuth/Entra ID flow using the standard root redirect URI (e.g., https://.portal..azure-apicenter.ms/ or an auth callback route) and preserve the intended target path via an encoded state parameter or post-login redirect, rather than sending the full API path as the redirect_uri.
Current Workaround
- Navigate directly to the portal root: https://.portal..azure-apicenter.ms/
- Sign in from the homepage.
- Manually search for the target API.
- Ngôn ngữ chính
- PowerShell
- Star
- 46
- Fork
- 21
- Merge trung bình
- 21 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure/api-center
-
Feature request Untriaged
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
Azure/api-center#96 ·
-
Bug Untriaged
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Azure/api-center#95 ·
-
Feature request Untriaged
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 48/100
Azure/api-center#93 · 1 bình luận ·
-
Bug Untriaged
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Azure/api-center#91 · 1 bình luận ·
-
Feature request Untriaged
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Azure/api-center#90 · 1 bình luận · 1 reaction ·
Tất cả issue của Azure/api-center
Issue tương tự
-
Bad device URI "://" on network printers. Printing stopped working between 2.4.19 and 2.4.20Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
OpenPrinting/cups#1751 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
melgarafael/DeskcommCRM#2657 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug][Python SDK] RecallMemory drops RFC-3339 created_at write-time timestamp returned by relayerĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
MystenLabs/MemWal#1160 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Idle compaction monitors LIST the replica every tick when the newest destination file spans more than one TXIDCó thể đã có người làm @pishuv đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
benbjohnson/litestream#1563 ·
Maintainer thường phản hồi trong vòng 2 ngày