Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

feat: add capability to forcefully resend a `authorize` request when there's a active session

Đang mở
#238 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
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
react, typescript
Lĩnh vực
authentication

Hướng nghiên cứu

Bắt đầu tại điểm vào signIn của @asgardeo/react và theo dõi cách một phiên đang hoạt động hiện bỏ qua một yêu cầu authorize mới. Xác định và ghi lại hành vi forceful signIn, sau đó xác minh rằng xác thực step-up có thể kích hoạt một yêu cầu cấp quyền mới mà không yêu cầu logout hoặc xóa phiên theo cách thủ công.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Type/Improvement
Current Limitation

Currently, when there’s an existing active session, the SDK automatically skips sending a new authorize request and proceeds with the current session context.
However, there are scenarios where developers may want to forcefully trigger a new authorization request, even if an active session exists — for example, to:

  • Do step up authentication
  • etc.

Without this capability, developers need to manually clear session data or perform a logout, which results in a poor user experience.

Suggested Improvement

Introduce a way to do forceful signIn maybe a additional param or a arg in the signIn method.

Please select the package issue is related to

@asgardeo/react

Version

current

Reporter Checklist
  • I have searched the existing issues and this is not a duplicate.
  • I have provided all the necessary information.
  • I have verified the improvement is not available in the latest version of the package.
Ngôn ngữ chính
TypeScript
Star
18
Fork
67
Merge trung bình
4 giờ 6 phút
Pull request đã merge (30 ngày)
13

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 asgardeo/javascript

Tất cả issue của asgardeo/javascript

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.