Sample for authentication inside of the Plugin
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- authentication, frontend, web-dev
Hướng nghiên cứu
Start with the issue's six-step authentication scenario and the attempted MSAL silent-login flow for an external plugin SPA. Clarify the OAuth and Entra token-sharing approach and document or demonstrate the recommended SSO flow. Done means the plugin authentication sample answers whether OFS passes a token and shows how the SPA can call its backend.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your feature request related to a problem? Please describe.
When opening an external plugin on IOS browser cookies are not shared with the plugin, breaking SSO experience for users that have to authenticate inside of the plugin.
Describe the solution you'd like
A sample on how to authenticate the user (using OAuth) inside of the plugin. What's the best practice?
Should OFS pass in token to the plugin?
How to achieve an SSO experience?
Describe alternatives you've considered
Tried using MSAL in external plugin SPA but silent login doesn't work since cookies are not shared.
Additional context
Scenario is as follows:
- user opens OFS
- logs in with Entra
- opens external plugin (an SPA)
- SPA need to make calls to backend with token
- SPA tries to authenticate the user with Entra
- Failure - silent flow fails
- Ngôn ngữ chính
- TypeScript
- Star
- 6
- Fork
- 5
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 oracle-samples/ofs-sample-plugins
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
Become ColloboratorĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 70/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
Add InspectionEventsPlugin (022) - 26A Forms and Fusion API IntegrationCó thể làm lại được @btoron đã nhận 241 ngày trước và không có pull request nào đang mở. Đang mở
oracle-samples/ofs-sample-plugins#134 · 1 người được giao ·
Tất cả issue của oracle-samples/ofs-sample-plugins
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
vercel-labs/ui#999 ·
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 73/100
melgarafael/DeskcommCRM#5109 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Doist/todoist-sdk-typescript#783 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
nicobailon/pi-subagents#3319 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Sidebar project filter uses Shift-click instead of ⌘-click to add or remove a projectĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày