Skip to content

Middlware can\'t handle special characters in common name #497

@phavekes

Description

@phavekes

This issue is imported from pivotal - Originaly created at Jul 8, 2021 by Peter Havekes

I have a user with common name :
🤖️🤣️🌎️😫️ ، ؛ ؟ ء آ

When he tries to log on to selfservice for the 2nd time an error occurs:

Jul  8 08:59:23 sa-test-app.surfconext.nl stepup-selfservice[30298]: {"channel":"app","level":"CRITICAL","message":"Exception when searching identity: \"Resource could not be read (status code 500)\"","context":[],"extra":{"server":"sa.test.surfconext.nl","application":"self-service","request_id":"82b3f603d08e4741096ddbe5f47be1e8"}}
Jul  8 08:59:23 sa-test-app.surfconext.nl stepup-selfservice[30298]: {"channel":"app","level":"ERROR","message":"Could not authenticate, Exception of type \"Surfnet\\StepupSelfService\\SelfServiceBundle\\Exception\\RuntimeException\" encountered: \"Exception when searching identity: \"Resource could not be read (status code 500)\"\"","context":[],"extra":{"server":"sa.test.surfconext.nl","application":"self-service","request_id":"82b3f603d08e4741096ddbe5f47be1e8"}}
Jul  8 08:59:23 sa-test-app.surfconext.nl stepup-selfservice[30298]: {"channel":"request","level":"CRITICAL","message":"Uncaught PHP Exception Surfnet\\StepupSelfService\\SelfServiceBundle\\Exception\\RuntimeException: \"Exception when searching identity: \"Resource could not be read (status code 500)\"\" at /opt/stepup/Stepup-SelfService-3.4.0-20210504124157Z-78ead56b2471c0ac9bfd47158554ba011f12fcfe/src/Surfnet/StepupSelfService/SelfServiceBundle/Service/IdentityService.php line 120","context":{"exception":{"class":"Surfnet\\StepupSelfService\\SelfServiceBundle\\Exception\\RuntimeException","message":"Exception when searching identity: \"Resource could not be read (status code 500)\"","code":0,"file":"/opt/stepup/Stepup-SelfService-3.4.0-20210504124157Z-78ead56b2471c0ac9bfd47158554ba011f12fcfe/src/Surfnet/StepupSelfService/SelfServiceBundle/Service/IdentityService.php:120","previous":{"class":"Surfnet\\StepupMiddlewareClient\\Exception\\ResourceReadException","message":"Resource could not be read (status code 500)","code":0,"file":"/opt/stepup/Stepup-SelfService-3.4.0-20210504124157Z-78ead56b2471c0ac9bfd47158554ba011f12fcfe/vendor/surfnet/stepup-middleware-client-bundle/src/Surfnet/StepupMiddlewareClient/Service/ApiService.php:84"}}},"extra":{"art":"19131","server":"sa.test.surfconext.nl","application":"self-service","request_id":"82b3f603d08e4741096ddbe5f47be1e8"}}

When searching for this users' email-adress in RA this error is shown:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions