Closed henrik-edlund closed 8 months ago
Hello @henrik-edlund , thanks for reaching out. The signin widget does not show the error details by default. However, you can add the widget "Validation Summary" on the same page you have the signin widget, that will display the errors at runtime (as seen in the below screenshot).
Bug description
The "SIGN-IN FORM BASIC" does not provice feedback to the user about sign in errors:
The GET call https://{serviceurl}/subscriptions/000/resourceGroups/000/providers/Microsoft.ApiManagement/service/{servicename}/identity?api-version=2021-04-01-preview-preview fails with 401 Unauthorized, which can be seen in Console and Network tabs of the browser.
Reproduction steps
Expected behavior
A message "Incorrect Credentials" or red visual highligting of the Email and Password Fields is shown.
Is your portal managed or self-hosted?
Managed
Environment
Chrome
Firefox
Operating system: Windows 10
Browser: Firefox
Version: 115.3.1esr
Operating system: Windows 10
BrowserMicrosoft Edge for Business
Version: 118.0.2088.61
Additional context
Screenshot:
(In the image the "SIGN-IN FORM BASIC" is inside a card, but this placement does not matter.)
The styling of the fields Form Controls - Text box is left unchanged/inherited for error. Red error box is correctly shown for invalid email format.