Skip to content

Commit 5d8331f

Browse files
authored
Merge pull request #2 from reflex-dev/iframe-support
Iframe support
2 parents 7f28d93 + 80f3987 commit 5d8331f

File tree

13 files changed

+1268
-860
lines changed

13 files changed

+1268
-860
lines changed

demos/okta/okta.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import reflex as rx
44
import reflex_enterprise as rxe
55

6-
from reflex_okta_auth import OktaAuthState, register_auth_endpoints
6+
from reflex_okta_auth import OktaAuthState, okta_login_button, register_auth_endpoints
77

88

99
def index():
@@ -19,9 +19,7 @@ def index():
1919
rx.text(OktaAuthState.userinfo.to_string()),
2020
rx.button("Logout", on_click=OktaAuthState.redirect_to_logout),
2121
),
22-
rx.button(
23-
"Log In with Okta", on_click=OktaAuthState.redirect_to_login
24-
),
22+
okta_login_button(),
2523
),
2624
rx.spinner(),
2725
),

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ authors = [
1111
]
1212
dependencies = [
1313
"reflex-enterprise (>=0.3.0)",
14+
"cryptography",
1415
"okta_jwt_verifier",
1516
]
1617

0 commit comments

Comments
 (0)