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

basic functionality with magiclink #2

Merged
merged 7 commits into from
Aug 19, 2022
Merged

basic functionality with magiclink #2

merged 7 commits into from
Aug 19, 2022

Conversation

omercnet
Copy link
Member

@omercnet omercnet commented Aug 11, 2022

Basic implementation using magiclink

  • Login/Signup with token verification route

  • Tokens are saved to user session

  • Request middleware validates the JWT on each request, refreshes the session token as needed (implemented by descope python-sdk)

  • Added a sample app that uses this library for testing

Signed-off-by: Omer Cohen <omer@descope.com>
@omercnet omercnet changed the title Initial code dump basic functionality with magiclink Aug 11, 2022
pyproject.toml Outdated Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
setup.py Show resolved Hide resolved
poetry.lock Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
example/settings.py Show resolved Hide resolved
example/pyproject.toml Show resolved Hide resolved
django_descope/views.py Show resolved Hide resolved
django_descope/middleware.py Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
django_descope/middleware.py Show resolved Hide resolved
example/urls.py Outdated Show resolved Hide resolved
example/settings.py Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
Signed-off-by: Omer Cohen <omer@descope.com>
Signed-off-by: Omer Cohen <omer@descope.com>
Signed-off-by: Omer Cohen <omer@descope.com>
Signed-off-by: Omer Cohen <omer@descope.com>
@omercnet omercnet merged commit 478bc14 into main Aug 19, 2022
@omercnet omercnet deleted the init branch August 19, 2022 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants