Dmytro Smyk
Dmytro Smyk
+1 for this. using such code-style constantly for queries for both alchemy and django
upvote. unfortunately current SDK is not compatible with asyncio which makes it unusable with such things like aiohttp or fastapi
+1 for this
@tomasvotava the context manager won't help in this case unfortunately. Currently the workaround which works - is to create a new `provider` for each new request. Luckily I don't see...
@tomasvotava UPD: faced the same issue yesterday even with the provider creation per request. Probably some more shared state exist somewhere? Maybe on a class level? I haven't yet investigated...
@tomasvotava my SSO provider has a `/me` endpoint which allows me to get the user info, e.g. email, for the provided access token. So I'm using the access token to...
@tomasvotava np =) Right now I'm going to utilize a simple asyncio lock, so we'll process an SSO callbacks on each container one by one, e.g. ``` from asyncio import...
@tomasvotava FYI after adding a lock - issue is fully resolved