Open LagunaElectric opened 7 months ago
Scopes are meant to not have spaces. Do we know which provider had spaces? I am closing this till we know more
I agree, but we should still gracefully handle the case that it happens. It could be as simple as user input error, but instance startup shouldn't fail because of a scope typo. Even more confusing is that the error message identified the scope with the space in it, but didn't show the space in the error message. We had to go look at the docker.env file to see that the invalid character was a space.
Can you elaborate on what you mean when you ask what provider has spaces? Afaik none of them support it, but the premise of the issue stands. In this case the IdP is Okta.
Yeah fair point. So I'll turn this into an enhancement to improve the error message then
Is there an existing issue for this?
Description
A users instance went down after adding the
offline_access
scope to their Okta SSO setup with the following error:When we checked the docker.env file we found there was a space in the scope like so:
offline _access
.We expect that the platform would still start and give a UI warning or other indication about the invalid configuration instead of not starting at all.
Steps To Reproduce
Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Self-Hosted EE 1.9.43