unkeyed / unkey

Open source API management platform
https://go.unkey.com
Other
4.06k stars 475 forks source link

Bug: Last used login Indicator should display only after successful login or return to login screen #2403

Open JeevaRamanathan opened 1 week ago

JeevaRamanathan commented 1 week ago

Preliminary Checks

Reproduction / Replay Link (Optional)

No response

Issue Summary

The last used indicator is displayed at the moment the the auth type (Google/Github) button is clicked

Steps to Reproduce

In SignIn screen (https://app.unkey.com/auth/sign-in)) click on either Google or GitHub login.

Expected behavior

Last used indicator should be displayed on only when coming back to login screen after successful login. https://app.formbricks.com/auth/login

Other information

No response

Screenshots

https://github.com/user-attachments/assets/1d324326-6db1-4131-bf5c-e987cf8ed1a3

Version info

- OS:Windows
linear[bot] commented 1 week ago

ENG-1460 Bug: Last used login Indicator should display only after successful login or return to login screen

oss-gg[bot] commented 1 week ago

This issue is not part of oss.gg hackathon. Please pick a different one or start with a side quest

naaa760 commented 1 week ago

/assign

oss-gg[bot] commented 1 week ago

This issue is not part of oss.gg hackathon. Please pick a different one or start with a side quest

naaa760 commented 1 week ago

@JeevaRamanathan would you like to assign this issue?

harshsbhat commented 1 week ago

Suppose the login fails or it is aborted. It would show the last attempted login. I don't know if this is a bug. But let us wait for someone from the Unkey team to review this.

JeevaRamanathan commented 1 week ago

@harshsbhat yes but what am addressing is different. If you could keenly on the formbricks and this unkey; the moment when the login is clicked before navigating to next screen the last used indicator is shown.


@naaa760 it's currently in "Needs approval" and i 'ant the moderator to assign; thanks!

chronark commented 1 week ago

I don't really see a problem with this it shows the intent of what auth you want to use.

If you abort and use something else, it will update correctly

JeevaRamanathan commented 1 week ago

@chronark But the last used indicator should only display when returning to the login screen after a successful or unsuccessful login, not immediately upon selecting an authentication method. Indicating the moment as "last used" might not be accurate as the current authentication process is ongoing.

Additionally, I don't see any option to abort unless the user clicks on another method while one is loading (if I understand this correctly). For example: https://lex.page/auth, https://app.formbricks.com/auth/login (Even on a failed attempt it is indicated once the user is back to login screen)

sanyamhbtu commented 4 days ago

/assign

oss-gg[bot] commented 4 days ago

This issue is not part of oss.gg hackathon. Please pick a different one or start with a side quest