On this page
Add user authentication to your Python app
These resources walk you through adding user authentication to your Python Flask app in minutes.
These SDKs help you integrate with Okta by redirecting to the Okta Sign-In Widget using OpenID Connect (OIDC) client libraries.
Flask redirect authentication sample app (opens new window): See Okta-hosted login (opens new window) for a redirect configuration.
The Okta Management Python SDK (opens new window) can be used in your server-side code to create and update users, groups, and more.
pip install okta
Okta-hosted Sign-In Widget guide:
- Implement the Authorization Code flow
- Add an identity provider (includes social login)
- Validate access tokens
- Validate ID tokens
Note: Browse our recent Python Developer Blog posts (opens new window) for further useful topics.