Skip to content

Conversation

@zlwaterfield
Copy link
Contributor

Add Passwordless support for MagicLink. Adds two methods:

  • create_session - generate a passwordless session for a user from their email
  • send_session - send an email to a user with a Magic Link confirmation URL

@zlwaterfield zlwaterfield self-assigned this Sep 16, 2020
@codecov
Copy link

codecov bot commented Sep 16, 2020

Codecov Report

Merging #41 into master will increase coverage by 0.35%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #41      +/-   ##
==========================================
+ Coverage   94.07%   94.42%   +0.35%     
==========================================
  Files          13       14       +1     
  Lines         253      269      +16     
==========================================
+ Hits          238      254      +16     
  Misses         15       15              
Impacted Files Coverage Δ
workos/passwordless.py 100.00% <100.00%> (ø)
workos/utils/validation.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update af49b54...854ed40. Read the comment docs.

@zlwaterfield
Copy link
Contributor Author

Tested locally using a sandbox API key and it is working.

@zlwaterfield zlwaterfield merged commit 9bf3024 into master Sep 17, 2020
@zlwaterfield zlwaterfield deleted the feature/ch3264/python-sdk-add-passwordless-session-support branch September 17, 2020 14:08
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