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

Merge users branch Into main #213

Merged
merged 18 commits into from
Nov 14, 2023
Merged

Merge users branch Into main #213

merged 18 commits into from
Nov 14, 2023

Conversation

blairworkos
Copy link
Contributor

Description

Merge users branch into main branch, as we will develop off main to add user management endpoints

Documentation

Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.

[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

* Add Users client and Users.create_user() method

* Fix comment and format.
* Add `Users.list_users()`

* Do not use f-string

* Fix comment

* Fix format

* Remove User type, and other fields
* Add authenticate_with_magic_auth

* Update comment
* Add `Users.authenticate_with_password()`

* Fix method

* Update comment

* Update test
* Add `Users.authenticate_with_token()` method

* Rename method

* Fix test
* Add `Users.send_verification_email()` method

* Fix Magic Auth challenge

* Fix test
* Add `Users.send_magic_auth_code()` method

* Fix test

* Fix test 2
* Magic Auth and Email Verification response returns User Response instead of MagicAuthChallenge Response

* Replace other magic_auth_challenge_id references
@blairworkos blairworkos self-assigned this Nov 14, 2023
@blairworkos blairworkos requested a review from a team as a code owner November 14, 2023 22:19
@blairworkos blairworkos merged commit aa1c222 into main Nov 14, 2023
3 checks passed
@blairworkos blairworkos deleted the users branch November 14, 2023 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants