https://github.com/osohq/fastapi-sqlalchemy-okta-oso-example
https://github.com/osohq/fastapi-sqlalchemy-okta-oso-example
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/osohq/fastapi-sqlalchemy-okta-oso-example
- Owner: osohq
- Created: 2021-02-04T02:19:10.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-13T20:21:44.000Z (almost 3 years ago)
- Last Synced: 2024-04-21T08:19:25.850Z (about 1 year ago)
- Language: JavaScript
- Size: 364 KB
- Stars: 14
- Watchers: 7
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FastAPI + SQLAlchemy + Okta + Oso example app
This is an example app that demonstrates using Okta and Oso to add
authentication and authorization to a FastAPI + SQLAlchemy application. Please
read [the accompanying post on Okta's developer blog][Okta blog] to learn how it
was created.The `main` branch has authentication (but no authorization), and the
`authorized` branch adds authorization. [Compare the two branches][] to view the
delta of adding authorization to the app.## Prerequisites
- [Okta CLI][]
- Python 3.6 or later
- A recent version of [Node.js][].[Okta blog]: https://developer.okta.com/blog/2021/06/23/okta-oso-fastapi-sqlalchemy
[Compare the two branches]: https://github.com/osohq/fastapi-sqlalchemy-okta-oso-example/compare/authorized
[Okta CLI]: https://github.com/okta/okta-cli
[Node.js]: https://nodejs.org/