Trailing spaces when authenticating to WSO2 Identity Server

半世苍凉 提交于 2019-12-11 05:28:08

问题


I have found that my users are sometimes entering a trailing space after their username. This happens most often when copy & pasting their user name from an email or other electronic document.

What happens is that the server will trim that space when authenticating that user, which then succeeds, but will not trim that space with retrieving claim values, which then fails.

The result is that the user is passed to the service provider and then the service provider reports they do not exist.

Is there a way to trim those spaces so that both the authentication and claims processes work?

WSO2 Identity Server 5.1.0

Thanks, pat

来源:https://stackoverflow.com/questions/39181691/trailing-spaces-when-authenticating-to-wso2-identity-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!