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

Allow short lived bearer tokens to be used (first implementation being against IBM cloud) #91

Closed
davidradl opened this issue May 2, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@davidradl
Copy link
Contributor

It would be great for us to be able to use https://ibm.github.io/java-sdk-core/docs/9.17.3/com/ibm/cloud/sdk/core/security/IamAuthenticator.html which handles token refresh for the IBM cloud.

This authenticator is Apache 2 licensed, so could go into this repository. I am thinking that there would be a factory for the authenticator, which would expose an interface allowing the authenticator to be identified and configured and methods exposed to get the latest access token ( under the covers calling https://ibm.github.io/java-sdk-core/docs/9.17.3/com/ibm/cloud/sdk/core/security/IamAuthenticator.html#requestToken--. In the future if other implementations are required then they could be added to the factory with a new identifier.

@kristoffSC kristoffSC assigned kristoffSC and davidradl and unassigned kristoffSC Jun 7, 2024
@kristoffSC kristoffSC added the enhancement New feature or request label Jun 7, 2024
@kristoffSC
Copy link
Collaborator

This sounds very good, Looking forward to see it done :)
THX!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants