reflex-magic-link-auth 0.2.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/CHANGELOG.md +7 -0
- {reflex_magic_link_auth-0.2.2/custom_components/reflex_magic_link_auth.egg-info → reflex_magic_link_auth-0.2.3}/PKG-INFO +2 -2
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/custom_components/reflex_magic_link_auth/providers/mailgun.py +3 -3
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3/custom_components/reflex_magic_link_auth.egg-info}/PKG-INFO +2 -2
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/custom_components/reflex_magic_link_auth.egg-info/requires.txt +1 -1
- reflex_magic_link_auth-0.2.3/custom_components/reflex_magic_link_auth.egg-info/scm_version.json +8 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/pyproject.toml +1 -1
- reflex_magic_link_auth-0.2.2/custom_components/reflex_magic_link_auth.egg-info/scm_version.json +0 -8
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/.github/workflows/changelog.yml +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/.github/workflows/deploy_demo.yml +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/.github/workflows/dispatch_release.yml +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/.github/workflows/pre-commit.yaml +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/.github/workflows/publish.yml +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/.github/workflows/release_from_changelog.yml +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/.gitignore +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/.pre-commit-config.yaml +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/README.md +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/custom_components/reflex_magic_link_auth/__init__.py +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/custom_components/reflex_magic_link_auth/constants.py +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/custom_components/reflex_magic_link_auth/models/__init__.py +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/custom_components/reflex_magic_link_auth/models/record.py +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/custom_components/reflex_magic_link_auth/models/session.py +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/custom_components/reflex_magic_link_auth/page.py +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/custom_components/reflex_magic_link_auth/providers/__init__.py +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/custom_components/reflex_magic_link_auth/state.py +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/custom_components/reflex_magic_link_auth.egg-info/SOURCES.txt +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/custom_components/reflex_magic_link_auth.egg-info/dependency_links.txt +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/custom_components/reflex_magic_link_auth.egg-info/scm_file_list.json +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/custom_components/reflex_magic_link_auth.egg-info/top_level.txt +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/.gitignore +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/alembic/README +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/alembic/env.py +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/alembic/script.py.mako +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/alembic/versions/78a161c9da3b_.py +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/alembic.ini +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/assets/favicon.ico +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/magic_link_auth_demo/__init__.py +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/magic_link_auth_demo/magic_link_auth_demo.py +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/requirements.txt +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/rxconfig.py +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/news/.gitkeep +0 -0
- {reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/setup.cfg +0 -0
|
@@ -10,6 +10,13 @@ written; alpha releases are omitted.
|
|
|
10
10
|
|
|
11
11
|
<!-- towncrier release notes start -->
|
|
12
12
|
|
|
13
|
+
## v0.2.3 (2026-11-23)
|
|
14
|
+
|
|
15
|
+
### Miscellaneous
|
|
16
|
+
|
|
17
|
+
- Depend on `httpx2` instead of `httpx`, following Reflex. The Mailgun provider now sends with `httpx2`. ([#11](https://github.com/masenf/reflex-magic-link-auth/issues/11))
|
|
18
|
+
|
|
19
|
+
|
|
13
20
|
## v0.2.2 (2026-08-13)
|
|
14
21
|
|
|
15
22
|
### Features
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: reflex-magic-link-auth
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Login with magic links sent via email
|
|
5
5
|
Author-email: Masen Furer <m_github@0x26.net>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -11,7 +11,7 @@ Requires-Python: >=3.10
|
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
Requires-Dist: reflex[db]>=0.8.4
|
|
13
13
|
Requires-Dist: bcrypt
|
|
14
|
-
Requires-Dist:
|
|
14
|
+
Requires-Dist: httpx2>=2.12.0
|
|
15
15
|
Provides-Extra: dev
|
|
16
16
|
Requires-Dist: build; extra == "dev"
|
|
17
17
|
Requires-Dist: twine; extra == "dev"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import urllib.parse
|
|
3
3
|
|
|
4
|
-
import
|
|
4
|
+
import httpx2
|
|
5
5
|
import reflex as rx
|
|
6
6
|
|
|
7
7
|
config = rx.config.get_config()
|
|
@@ -37,7 +37,7 @@ def email_html():
|
|
|
37
37
|
return os.environ.get("MAGIC_LINK_EMAIL_HTML", DEFAULT_HTML)
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
def send_magic_link_mailgun(email: str, magic_link: str) ->
|
|
40
|
+
def send_magic_link_mailgun(email: str, magic_link: str) -> httpx2.Response:
|
|
41
41
|
"""Send magic link email to user."""
|
|
42
42
|
if API_KEY is None:
|
|
43
43
|
raise ValueError("MAILGUN_API_KEY is required to send magic link emails.")
|
|
@@ -47,6 +47,6 @@ def send_magic_link_mailgun(email: str, magic_link: str) -> httpx.Response:
|
|
|
47
47
|
"subject": email_subject(),
|
|
48
48
|
"html": email_html().format(magic_link=magic_link),
|
|
49
49
|
}
|
|
50
|
-
response =
|
|
50
|
+
response = httpx2.post(messages_endpoint(), data=data, auth=("api", API_KEY))
|
|
51
51
|
response.raise_for_status()
|
|
52
52
|
return response
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: reflex-magic-link-auth
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Login with magic links sent via email
|
|
5
5
|
Author-email: Masen Furer <m_github@0x26.net>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -11,7 +11,7 @@ Requires-Python: >=3.10
|
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
Requires-Dist: reflex[db]>=0.8.4
|
|
13
13
|
Requires-Dist: bcrypt
|
|
14
|
-
Requires-Dist:
|
|
14
|
+
Requires-Dist: httpx2>=2.12.0
|
|
15
15
|
Provides-Extra: dev
|
|
16
16
|
Requires-Dist: build; extra == "dev"
|
|
17
17
|
Requires-Dist: twine; extra == "dev"
|
{reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/.github/workflows/changelog.yml
RENAMED
|
File without changes
|
{reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/.github/workflows/deploy_demo.yml
RENAMED
|
File without changes
|
{reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/.github/workflows/dispatch_release.yml
RENAMED
|
File without changes
|
{reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/.github/workflows/pre-commit.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/.gitignore
RENAMED
|
File without changes
|
{reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/alembic/README
RENAMED
|
File without changes
|
{reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/alembic/env.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/alembic.ini
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/requirements.txt
RENAMED
|
File without changes
|
{reflex_magic_link_auth-0.2.2 → reflex_magic_link_auth-0.2.3}/magic_link_auth_demo/rxconfig.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|