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

Support for mashup/portal grantType of customBearer and clientCreds #243

Merged
merged 7 commits into from
Dec 5, 2023

Conversation

vrseraphin
Copy link
Contributor

This allows leveraging the customBearer grant type and an optional new api which might be leveraged by a Sample app (sdkSetCustomTokenParamsCB) which allows a means for the client to calculate and return any "custom" additional params to submit along with the token endpoint during a custom bearer grant flow. This function (if set) would be invoked just prior to when the SDK would do the first or subsequent token endpoint call to fetch the first or subsequent token.

serav added 2 commits November 17, 2023 10:03
…" to avoid redirects and utilize specified server activity for authentication.
…te to username/password configured in sdk config file.
Copy link
Contributor

@vishalshrm539 vishalshrm539 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested both the customBearer and ClientCreds mechanisms. Looks good.

@vrseraphin vrseraphin merged commit d960c68 into master Dec 5, 2023
2 checks passed
@vrseraphin vrseraphin deleted the mod/spr/US-581468 branch December 5, 2023 14:25
4manasa pushed a commit that referenced this pull request Dec 29, 2023
…243)

* Support mashupGrantType (and/or portalGrantType) set to "customBearer" to avoid redirects and utilize specified server activity for authentication.

* Also add support for grantType clientCreds .... another preferred route to username/password configured in sdk config file.

* Add an example for using sdkSetCustomTokenParamsCB

---------

Co-authored-by: serav <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants