Sample for authentication inside of the Plugin

Đang mở
#47 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

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ả

dependencies enhancement

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:

  1. user opens OFS
  2. logs in with Entra
  3. opens external plugin (an SPA)
  4. SPA need to make calls to backend with token
  5. SPA tries to authenticate the user with Entra
  6. 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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của oracle-samples/ofs-sample-plugins

Tất cả issue của oracle-samples/ofs-sample-plugins

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.