Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 2.15 KB

README.md

File metadata and controls

37 lines (26 loc) · 2.15 KB

okta_examples

This repository contains several quick and dirty examples built to test out various Okta use-cases using Flask Python Framework application and Python 3.10.6.

It was inspired by the Okta Flask Sample Applications and OAuth 2.0 Simplified Book by Aaron Parecki

It consists of the following examples:

Example Description
oauth_4_okta Tests autheticating with Okta and accessing APIs using the Oauth for Okta functionality
okta_api_access An example for accessing and protecting APIs with Okta. Contains an client that accesses authenticates with Okta and access a dummy API Resource Server that is protected by Okta, can be used to test API Access protection with Okta
okta_api_integration An example for Okta's API Service Integrations that allow you access Okta APIs using a service account
okta_widget_login An example that tests adding authentication to your web app using the Okta's widget in redirect mode or embeded mode. This also tests the new propriety Interaction code flow

Prerequisites

Before running these examples, you will need the following:

Running These Examples

To run these examples, you first need to clone this repo and then enter into this directory:

git clone [email protected]:eafigbo/okta_examples.git
cd okta_examples

Then install dependencies:

pip install -r requirements.txt

Follow the instructions in each project's README to run each example