Skip to content

Conversation

@alihdev
Copy link
Contributor

@alihdev alihdev commented Sep 3, 2024

Hi,
Currently, all authentication failures return the same error code (InvalidGrant), making it difficult to distinguish between different failure reasons on the front end.
Introducing specific error codes (account_locked, account_inactive, and invalid_grant) will allow us to check whether an account is locked out, inactive, or if the credentials are invalid, enabling the front end to handle these scenarios more effectively.

@alihdev alihdev force-pushed the login_failed_error_code branch from bdc2424 to 6d81e93 Compare September 3, 2024 10:40
@stale
Copy link

stale bot commented Apr 26, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the inactive label Apr 26, 2025
@stale stale bot closed this May 6, 2025
@alihdev
Copy link
Contributor Author

alihdev commented Jun 28, 2025

@maliming, could you take a look at this?

@maliming maliming removed the inactive label Jun 29, 2025
@maliming maliming self-requested a review June 29, 2025 01:06
@maliming
Copy link
Member

hi @alihdev

Thanks. I will check it.

@maliming maliming added this to the 10.0-preview milestone Jun 29, 2025
@maliming maliming reopened this Jul 15, 2025
@maliming maliming merged commit 81f9296 into abpframework:dev Jul 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants