Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example stack: unable to login with "admin@example.com"and changethis pwd #34

Closed
shouari opened this issue Apr 12, 2024 · 4 comments
Closed

Comments

@shouari
Copy link

shouari commented Apr 12, 2024

Hello,
I want to test the example stack, but cannot login with the admin@example.com and changethis password.

Am I missing something?

@blink1073
Copy link
Member

Hi @shouari, we had a couple of bug fixes this morning, can you please try again?

@Jibola
Copy link
Collaborator

Jibola commented May 2, 2024

Hi, @shouari, we recently merged a PR #42 in response to another issue. We have strong reason to believe that this should resolve your issue as well. Can you confirm this by running the quickstart guide?

@anh56
Copy link

anh56 commented May 5, 2024

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.

@Jibola
Copy link
Collaborator

Jibola commented May 21, 2024

Hi @anh56 we recently merged #45 which targets this issue exactly. This should now resolve any further occurrence of this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants