Previous versions allowed this to be configured with string values of scope, e.g. scope: 'openid email'. Now, the values need to be an array, e.g. scopes: ['openid', 'email'].
Expected behavior
Configuring the widget with a string value should throw an error, since this will not work. This is especially important when someone is upgrading from a previous version of the widget.
What went wrong?
Instead, the widget hangs after the user enters their credentials, no error is in the console, and no tokens are returned. Since there is no error visible in the console or anywhere else, there is no clear indication that this was the source of the problem.
I'm submitting a
Background info
Previous versions allowed this to be configured with string values of scope, e.g.
scope: 'openid email'
. Now, the values need to be an array, e.g.scopes: ['openid', 'email']
.Expected behavior
Configuring the widget with a string value should throw an error, since this will not work. This is especially important when someone is upgrading from a previous version of the widget.
What went wrong?
Instead, the widget hangs after the user enters their credentials, no error is in the console, and no tokens are returned. Since there is no error visible in the console or anywhere else, there is no clear indication that this was the source of the problem.
Steps to reproduce
scopes: 'openid email'
Your environment