-
Notifications
You must be signed in to change notification settings - Fork 7
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 methods and events for email verification and password reset #228
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alisherry
reviewed
May 24, 2024
@@ -1223,8 +1324,9 @@ class UserManagementApiTest : TestBase() { | |||
"revoked_at": null, | |||
"expires_at": "2021-07-01T19:07:33.155Z", | |||
"token": "Z1uX3RbwcIl5fIGJJJCXXisdI", | |||
"accept_invitation_url": "https://myauthkit.com/invite?invitation_token=Z1uX3RbwcIl5fIGJJJCXXisdI", | |||
"accept_invitation_url": "https://your-app.com/invite?invitation_token=Z1uX3RbwcIl5fIGJJJCXXisdI", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense to update this, more clear what the invitation url is redirecting to
alisherry
reviewed
May 24, 2024
private val webhookId = "wh_01FMXJ2W7T9VY7EAHHMBF2K07Y" | ||
|
||
private fun generateWebhookEvent(eventType: EventType): String { | ||
return """ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
neat, threw me off for a sec
alisherry
approved these changes
May 24, 2024
PaulAsjes
added a commit
that referenced
this pull request
Jul 19, 2024
* User Management support (#212) * Add Beta SDKs section in README.md (#213) * Add Beta SDKs section in README.md * Nit/typo * Nit in section about Beta releases in the README.md (#214) * Nit in section about Beta releases in the README.md * Improvement to README.md * Update README.md * User Management support * Update version (#215) * Add Beta SDKs section in README.md (#213) * Add Beta SDKs section in README.md * Nit/typo * Nit in section about Beta releases in the README.md (#214) * Nit in section about Beta releases in the README.md * Improvement to README.md * Update README.md * Update version * Fix release script (Beta branch) (#217) * Add Beta SDKs section in README.md (#213) * Add Beta SDKs section in README.md * Nit/typo * Nit in section about Beta releases in the README.md (#214) * Nit in section about Beta releases in the README.md * Improvement to README.md * Update README.md * Fix typo in release script * Add organization membership events (#218) Add organization membership events. * Update beta version (#219) * Add events and API changes for invitations and Magic Auth (#221) * Add events and API changes for invitations and Magic Auth * Fix failing test * Rename event data * v3.1.0-beta.user-management3 (#222) * Add organization membership deactivate and reactivate API methods. (#226) * Bump to version 3.1.0-beta.user-management4. (#227) * Add methods and events for email verification and password reset (#228) * v3.1.0-beta.user-management5 (#229) * Add find invitation by token method (#230) * Fix list endpoints (#236) * Now correctly parsing data as params for GET requests * Value has to be a string * lol linting * 3.1.0-beta.user-management6 (#233) * `invitationCode` should be `invitationToken` (#237) --------- Co-authored-by: amadeo <165715960+amadeo-workos@users.noreply.github.com> Co-authored-by: Matt Dzwonczyk <9063128+mattgd@users.noreply.github.com> Co-authored-by: Blair Lunceford <74257063+blairlunceford@users.noreply.github.com> Co-authored-by: Michael Hadley <m@mthadley.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
inviterUserId
to invitation objectemail_verification.created
andpassword_reset.created
eventsGET /user_management/email_verification/:id
endpointGET /user_management/password_reset/:id
andPOST /user_management/password_reset
endpointsDocumentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.
https://github.com/workos/workos/pull/27414