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 exchanging OTP for Access Token #422

Closed
theodoretliu opened this issue Dec 24, 2022 · 2 comments · Fixed by #438
Closed

Support for exchanging OTP for Access Token #422

theodoretliu opened this issue Dec 24, 2022 · 2 comments · Fixed by #438
Labels
feature request A feature has been asked for or suggested by the community

Comments

@theodoretliu
Copy link

Describe the problem you'd like to have solved

I'd like to use the Ruby client to exchange SMS OTP's for Access Tokens. This flow is documented here and the passwordless flow start is already supported!

Describe the ideal solution

An API akin to client.exchange_otp_for_token(username, code, realms...) would be great!

Alternatives and current work-arounds

I can currently make the POST manually using Faraday or other HTTP libraries.

Additional information, if any

@theodoretliu theodoretliu added the feature request A feature has been asked for or suggested by the community label Dec 24, 2022
@stevehobbsdev
Copy link
Contributor

Thanks for the feature request @theodoretliu, it's in our backlog to investigate 👍

@stevehobbsdev
Copy link
Contributor

Thanks for your patience @theodoretliu , this is now available in v5.11.0 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature has been asked for or suggested by the community
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants