LIU ZHE YOU
LIU ZHE YOU
I face this problem too, and I found that the problem is that the **Redis Server we use is `Redis Server` instead of `Redis Stack Server`** While I look into...
You can use `Base.metadata.create_all` from `sqlalchemy` to create it. However, you need to `bind` and use the `engine` from `AuthAdminSite.auth.db`. ```python from contextlib import asynccontextmanager from fastapi import FastAPI from...
For a short response: **Yes**, we have to obtain a new `access_token` to make protected API requests ✅ 1. We should utilize the `refresh_token` to obtain a new `access_token` (the...
The second solution is more appropriate. The workflow of the current project is as follows: - Use `axios` to make protected API requests with the `access_token`. - If the response...
By the way, the current version of this project (on the `main` branch) doesn't implement the best practices of OAuth2. 😓 There are several improvements: - The `access_token` should only...
Could you describe the case that caused the issue? For example, it might be that only the access token is expired while the refresh token remains valid. I encountered a...
If you use only the backend to test the refresh utility, will you still receive a 401 error response, or does it work well? I believe the issue still lies...
I have committed a refactored version. Please note that if you are using Docker or Docker Compose 🐬, you should delete the containers and images from the previous version, build...
How about we meet online and figure out the bugs? Could you please present the issues on your computer since I can't replicate the problem on my PC? What do...
Hi @tsebastiani, can we discuss the detail of the proposal on this issue? Or do you prefer to chat on Slack or maybe create a draft PoC PR and discuss...