asgardeo / asgardeo/javascript
React app login with code grant silently fails when public client option is not enabled
- Dominant language
- TypeScript
- Stars
- 18
- Forks
- 67
- Avg merge
- 4h 6m
- Merged PRs (30d)
- 13
Description
### 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.
Contributor guide
Assessment
This issue has not been assessed yet.