You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python-flask-magic-link-example/README.md
+2-16Lines changed: 2 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,25 +94,11 @@ An example Flask application demonstrating how to use the [WorkOS Python SDK](ht
94
94
95
95
## Magic Link Setup with WorkOS
96
96
97
-
Follow the [SSO authentication flow instructions](https://workos.com/docs/magic-link/guide) to set up an SSO connection.
98
-
99
-
When you get to the step where you provide the `REDIRECT_URI` value, use http://localhost:5000/success. This must be the default `REDIRECT_URI` in your dashboard if there are multiple.
100
-
101
-
If you get stuck, please reach out to us at [email protected] so we can help.
97
+
Change the default REDIRECT_URI value in the "Configuration" page of your WorkOS dashboard to http://localhost:5000/success.
102
98
103
99
## Testing the Integration
104
100
105
-
1. Naviagte to the `python-flask-magic-link-example` directory. Source the virtual environment we created earlier, if it isn't still activated from the steps above. Start the Flask server locally.
106
-
107
-
```bash
108
-
$ cd~/Desktop/python-flask-sso-example/
109
-
$ source env/bin/activate
110
-
(env) $ flask run
111
-
```
112
-
113
-
Once running, navigate to http://localhost:5000 to test out the magic link workflow.
114
-
115
-
Hooray!
101
+
1. Naviagte to http://localhost:5000 to test out the Magic Link flow!
0 commit comments