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
When a : is included as part of the Sitename in /admin/settings then we get a 500 error from the totp request with the Issuer class stating the error AssertInvalidArgumentException: Issuer must not contain a colon.
At a minimum, the docs should state that this should be avoided or if possible, the module should handle this scenario more gracefully.
The text was updated successfully, but these errors were encountered:
pjayme
changed the title
Issuer breaks when Sitename contains a colon
Issuer returns a 500 error when Sitename contains a colon
Dec 12, 2022
I'm on the fence as to whether the module should handle those cases by stripping out the colons, or if we should just document it in the readme. I'll mark as an enhancement for now.
The SiteConfig's Sitename is used as the "issuer", which is the name displayed in the authenticator app to identify the site. If it has a colon in it, the server error described occurs.
When a
:
is included as part of theSitename
in/admin/settings
then we get a500
error from thetotp
request with theIssuer
class stating the errorAssertInvalidArgumentException: Issuer must not contain a colon
.At a minimum, the docs should state that this should be avoided or if possible, the module should handle this scenario more gracefully.
The text was updated successfully, but these errors were encountered: