File tree Expand file tree Collapse file tree 2 files changed +7
-17
lines changed
python-flask-audit-logs-example/static
python-flask-magic-link-example Expand file tree Collapse file tree 2 files changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,10 @@ a:visited {
92
92
width : 15vw ;
93
93
}
94
94
95
+ .width-100vw {
96
+ width : 100vw ;
97
+ }
98
+
95
99
.width-150px {
96
100
width : 150px ;
97
101
}
@@ -424,12 +428,6 @@ pre.prettyprint {
424
428
margin-left : 65px ;
425
429
}
426
430
427
- th {
428
- text-align : center;
429
- font-weight : bolder;
430
- font-size : large;
431
- }
432
-
433
431
tr {
434
432
text-align : center;
435
433
border-bottom : 1px solid # ebebf2 ;
@@ -452,6 +450,9 @@ table {
452
450
}
453
451
454
452
th {
453
+ text-align : center;
454
+ font-weight : bolder;
455
+ font-size : large;
455
456
background-color : # e3e3e3 ;
456
457
border-right : none;
457
458
border-left : none;
Original file line number Diff line number Diff line change @@ -26,17 +26,6 @@ def hello_world():
26
26
return render_template ("login.html" )
27
27
28
28
29
- @app .route ("/callback" )
30
- def callback ():
31
- code = request .args .get ("code" )
32
- profile_and_token = workos_client .sso .get_profile_and_token (code )
33
-
34
- # Use the information in `profile` for further business logic.
35
- profile = profile_and_token .profile
36
-
37
- return redirect ("/" )
38
-
39
-
40
29
@app .route ("/passwordless_auth" , methods = ["POST" ])
41
30
def passwordless_auth ():
42
31
email = request .form ["email" ]
You can’t perform that action at this time.
0 commit comments