On this page
Add user authentication to your Python app
Get started with Python Flask + Okta
These resources walk you through adding user authentication to your Python Flask app in minutes.
Integrate with Okta using the Okta-hosted Sign-In Widget
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.
Okta Classic Python SDKs
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:
Sign users in to your web app using the redirect model
- 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.