Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use requestCustomGrant function as a promise #153

Open
janithRS opened this issue Dec 8, 2022 · 1 comment
Open

Can't use requestCustomGrant function as a promise #153

janithRS opened this issue Dec 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@janithRS
Copy link

janithRS commented Dec 8, 2022

Describe the issue:
Can't use requestCustomGrant function as a promise (as mentioned in the documentation with then) because according to the code it seems to be a void function.

How to reproduce:
Try to use then and catch with requestCustomGrant as mentioned in the doc.

Expected behavior:
Compiler errors appear.

Environment information (Please complete the following information; remove any unnecessary fields) :

  • Product Version: [e.g., IS 5.10.0, IS 5.9.0]
  • OS: [e.g., Windows, Linux, Mac]
  • Database: [e.g., MySQL, H2]
  • Userstore: [e.g., LDAP, JDBC]

Optional Fields

Related issues:

Suggested labels:

@janithRS janithRS added the bug Something isn't working label Dec 8, 2022
@pavinduLakshan
Copy link
Contributor

requestCustomGrant function is no longer be exposed through the React SDK and it will be accessible through the SPA SDK. Hence, transferring the issue to the SPA SDK repository.

@pavinduLakshan pavinduLakshan transferred this issue from asgardeo/asgardeo-auth-react-sdk Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants