infohash
infohash
I am in similar situation. Is there any way to delete a specific cache key from TTLCache. The key in TTLCache is stored as `tuple`. ```python TTLCache({(, 'token', 'd4e498d636e76dd3ea19fb727dc8f828'): TokenClass...
I am using `@cachedmethod` because the method that I am applying cache on is an instance method of a class and I initialize TTLCache inside the init method. ```python from...
@tkem I have solved it finally. So if the method is called with the keyword argument, the cache_key must also take the keyword argument. ```python tc.token_function.cache(tc).pop(tc.token_function.cache_key(tc, token=d4e498d636e76dd3ea19fb727dc8f828'), None) ```
Currently, it takes semicolon separated string as cookies. We can make it to accept a list of `Cookie` instance.
`flask.current_app` & `flask.url_for` cannot work outside of [application context](https://flask.palletsprojects.com/en/latest/appcontext/#the-application-context). They can only be called either inside a view function or if the application context is manually pushed otherwise you will...
I think the bigger problem was that there was no way to dynamically resolve post logout redirect URI when logout routes are created by blueprints. The linked PR resolves that...
Okay, I will make it optional in the upcoming version. I missed the line where it says it's optional to enforce. I have checked it now: https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.3 Until then, you...
Thanks for noticing. I'll explore a better approach.
@azmeuk All it needed was a check to see if `_provider_configurations` exists or not. Thanks for reporting
The destination endpoint is temporarily stored in session cookies. The callback endpoint after successful authentication redirects the user to the stored destination. What is the value of your `OIDC_REDIRECT_URI`? Is...