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

Add capability to pass custom parameters to the /oauth2/token request from the SDK level #257

Closed
brionmario opened this issue Jul 25, 2024 · 0 comments · Fixed by asgardeo/asgardeo-auth-spa-sdk#177 or asgardeo/asgardeo-auth-react-sdk#239

Comments

@brionmario
Copy link
Member

Is your suggestion related to an experience ? Please describe.

Currently, the SDK only supports adding custom parameters to the /oauth2/authorize request.

However, there may be cases where we need to send custom parameters to the /oauth2/token request as well.
ex: Attaching the tokenBindingId to facilitate client-request binding type in WSO2 Identity Server

Describe the improvement

Implement a generic method to pass custom parameters to the /oauth2/token request.

Additional context

We can augment the signIn method of the wrapper SDKs (auth-spa) to accept an additional argument to get the token request config which will contain additional params.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment