Skip to content

fix: Return store error from verifyOTP when OTP is missing in store - #52

Merged
knadh merged 1 commit into
knadh:masterfrom
abhinavxd:fix-error-msg
Sep 26, 2025
Merged

fix: Return store error from verifyOTP when OTP is missing in store#52
knadh merged 1 commit into
knadh:masterfrom
abhinavxd:fix-error-msg

Conversation

@abhinavxd

@abhinavxd abhinavxd commented Sep 26, 2025

Copy link
Copy Markdown
Contributor

When OTP record's missing in the store, the UI would end up showing this error message on action check:
"Internal error"
"The provider for this OTP was not found."

Now verifyOTP returns a store-level not-found error which is mapped to the "Session expired" message.

Added test cases for the same.

When OTP record's missing in the store, the UI would end up showing this error message on action `check`:
"Internal error"
"The provider for this OTP was not found."

Now verifyOTP returns a store-level not-found error which is mapped to the webview "Session expired" message.

Added test cases for the same.
@knadh
knadh merged commit 277bf58 into knadh:master Sep 26, 2025
1 check passed
@knadh

knadh commented Sep 26, 2025

Copy link
Copy Markdown
Owner

Pushed v3.6.3

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants