Example stack: unable to login with "admin@example.com"and changethis pwd
Closed this issue · 4 comments
shouari commented
Hello,
I want to test the example stack, but cannot login with the admin@example.com and changethis password.
Am I missing something?
blink1073 commented
Hi @shouari, we had a couple of bug fixes this morning, can you please try again?
Jibola commented
anh56 commented
hi, I have the same problem and cannot login via the FE's login page.
I found the error to be the response model of the /login route.
class Token(BaseModel):
# access_token: SecretStr
# refresh_token: SecretStr | None = None
access_token: str
refresh_token: str | None = None
if you use SecretStr the return token will be censored (as in *****), and FE cannot decode them.