asgardeo / asgardeo/javascript
React app login with code grant silently fails when public client option is not enabled
- 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
Mô tả
### Description
When the code grant is enabled without the public client option is enabled, the react application login silently fails because the token calls sent after the user is authenticated fails with the following error. Initiating signing in again in the same tab also redirects the user to same callback URL.
### Steps to Reproduce
The following screencast shows this erroneous behaviour.
https://github.com/user-attachments/assets/5f73e716-603f-4885-a764-9b775005342a
### Please select the area the issue is related to
@asgardeo/express, @asgardeo/react
### Version
latest
### Environment Details (with versions)
_No response_
### Reporter Checklist
- [x] I have searched the existing issues and this is not a duplicate.
- [x] I have provided all the necessary information.
- [x] I have tested the issue on the latest version of the package.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lỗi được hiển thị trong screencast với các package @asgardeo/express và @asgardeo/react, sau đó theo dõi các lệnh gọi login và token được thực hiện sau khi xác thực. Công việc được hoàn tất khi login thành công trong trường hợp code grant được bật mà không có tùy chọn public client, và việc đăng nhập lại trong cùng một tab không chuyển hướng đến cùng callback URL.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react, typescript
- Lĩnh vực
- authentication, frontend
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 48/100