workos-ruby icon indicating copy to clipboard operation
workos-ruby copied to clipboard

Invitation token on authenticate_with_code

Open xantrac opened this issue 1 year ago • 2 comments

Hello,

looks like authenticate_with_code https://workos.com/docs/reference/user-management/authentication/code API supports an invitation_token to authenticate and accept an invitation in one pass.

But the current sdk doesn't supports it https://github.com/workos/workos-ruby/blob/main/lib/workos/user_management.rb#L312

Also there isn't any implementation to accept an invitation, https://github.com/search?q=repo%3Aworkos%2Fworkos-ruby%20accept_&type=code

How currently people is handly accept an invite in Ruby?

xantrac avatar Dec 22 '24 01:12 xantrac