You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error in PasswordForm is being rendered when it exists, but it is of type array with 1 object. It is typed as string but /api/session returns an array of object in response.details?.details.
To reproduce
Enter a loginname
Enter a wrong password
See Error
Screenshots
Value set in the error state is not of type string (is an array of 1 element: type, value):
Expected behavior
Error rendered properly if there is an error thrown by api/session
Preflight Checklist
Version
2d8bcde of this repo (3 days ago)
Describe the problem caused by this bug
error
in PasswordForm is being rendered when it exists, but it is of type array with 1 object. It is typed asstring
but/api/session
returns an array of object inresponse.details?.details
.To reproduce
Screenshots
Value set in the
error
state is not of typestring
(is an array of 1 element: type, value):Expected behavior
Error rendered properly if there is an error thrown by
api/session
Relevant Configuration
The URL I'm hitting:
https://localhost:3000/password?loginName=XXX&organization=XXX&promptPasswordless=true&authRequestId=V2_27809012XXX
(actual values replaces by XXX)
Additional Context
Let me know if we've misconfigured something.
The text was updated successfully, but these errors were encountered: