Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

udplabs/zartan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

744 Commits

Repository files navigation

Zartan

All Contributors

Zartan is a master of make-up and disguise and so is this demo platform. πŸŽ‰πŸ¦„πŸŒˆ

Disclaimer ⚠️

This project serves as a Sample Application, that you can tweak or completely re-purpose. It is community-supported and is maintained by members of the Okta team for developers and other IT professionals. Zartan is not an official Okta product and does not qualify for any Okta support. Okta makes no warranties regarding this project. Anyone who chooses to use this project must ensure that their implementation meets any applicable legal obligations including any Okta terms and conditions.

Requirements

  • Python >= 3.7+
  • Flask >= 1.x
  • A Okta tenant. Free πŸ˜‰

Features

Application Travel Agency Streaming Service Hospitality Credit Finance Dealer Healthcare Admin Ecommerce
Okta Session Auto Login βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“
Login Widget (Social Login, IDP Discovery, MFA) βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“
Password-less
Widget βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“
Custom Widget βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“
Okta Hosted Widget βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“
Custom Registration βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“
Profile
(ID Token and Access Token Viewer) βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“
Custom MFA Enrollment βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“
User Apps (Display Other User Apps, B2B) βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“
Manage Users (Create User, Update User, Suspend User, Password Reset) βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“ βœ“
Step Up Authentication using MFA βœ“ βœ“ βœ“ βœ“ βœ“
ID Verification (Uses Evident) βœ“ βœ“
Consent βœ“ βœ“
Progressive Profiling βœ“ βœ“
Temporary MFA for Users βœ“
User Verification via MFA βœ“
Hard Token Setup βœ“
User Approve Workflow βœ“ βœ“
IDP Management βœ“
Device Flow βœ“

Setup

Manual

Local Zartan Setup instructions

Docker-Compose

Pre-requirements

  • docker-desktop => 2.3.0.4
  • ⚠️ Assumed an OAuth/OpenID Client has already been created. Either by terraform or manually, with .env filed configured.
# Validate .env exist and configured
$ cat .env
# Okta Setting
OKTA_CLIENT_ID="0oa****************"
OKTA_CLIENT_SECRET="ntd************************"
OKTA_ISSUER="https://udp-narisak-a59.oktapreview.com/oauth2/aus**********"
OKTA_ORG_URL="https://udp-narisak-a59.oktapreview.com"
OKTA_OIDC_REDIRECT_URI="http://localhost:8666/authorization-code/callback"
OKTA_API_TOKEN="00iq*******7NHYULle5"
...
# Start the container(app) in the background (eg. '-d' flag). NOTE: Will take awhile since container needs to be built.
$ docker-compose up -d
# Navigate http://localhost:8666 with your favorite browser (eg. macOS default Chrome)
$ open http://localhost:8666
# Stop the container
$ docker-compose stop
# Clean up
$ docker-compose down
# Rebuild and start container, if you happen to update requirements.txt.
$ docker-compose up --build
# (Optional) Development commands for pytest. Assuming container is running in daemon mode.
$ docker-compose exec web pytest
# (Optional) Development commands for flake8. Assuming container is running in daemon mode.
$ docker-compose exec web flake8

Original Authors

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Zartan is a master of make-up and disguise and so is this demo.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 11

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /