[1]https://engineering.intility.com/article/implementing-oauth2...
93 karma · joined November 1, 2020
[1]https://engineering.intility.com/article/implementing-oauth2...
I started a container and connected it, but instantly got an email from heroku telling me i had 19500 of my 10000 rows, and 215 tables. Not really any hobby-project viable priced hosting options in their documentation.
FastAPI-Azure-Auth [0] is a library to do authentication and authorization through Azure AD using tokens.
ASGI—Correlation-ID[1] is a package that utilizes contextvars to store information through the asyncio stack, in order to attach correlation/request ID to every log message from a request. Django-GUID [2] does the same for both sync and async Django.
Pydantic-factories [3] is an awesome library to mock data for your pydantic models.
[0] https://github.com/Intility/fastapi-azure-auth
[1] https://github.com/snok/asgi-correlation-id
My library for Correlation-IDs in Django[3] got implemented by AWX, which also was a nice experience![4]
Maybe it is the Django/FastAPI community, but "you'll get a load of entitled users" is straight up not true in my experience.
[1] https://github.com/Intility/fastapi-azure-auth/issues/24
[2] https://github.com/Intility/fastapi-azure-auth/issues/39
[3] https://github.com/snok/django-guid
[4] https://github.com/ansible/awx/pull/9332
(Bonus Correlation-ID package for Starlette/FastAPI: https://github.com/snok/asgi-correlation-id )
In other words, I think we pretty much could write any language and it would solve most use cases.
With that said, podman now support docker-compose. Seems to still require to be privileged for volume mounting on Linux, but haven’t looked too much into it.
This library allow you to easily implement Azure AD auth to your FastAPI APIs. It also implements authentication in the OpenAPI documentation. The documentation[1] contains a full tutorial on how to configure Azure AD and FastAPI for both single- and multi-tenant applications. It includes examples on how to lock down your APIs to certain scopes, tenants, roles etc.