Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frontend: impossible to authorize users in your application #300

Open
veonline opened this issue Nov 4, 2022 · 2 comments
Open

frontend: impossible to authorize users in your application #300

veonline opened this issue Nov 4, 2022 · 2 comments

Comments

@veonline
Copy link

veonline commented Nov 4, 2022

in the fontend's Authorize users in your application modal, the left panel remains always empty when i use the filter.

i've checked the logs from keyrock and found a clue that seems to point to some query string sanitization error. logs below

keyrock version: 8.3.0

fiware-keyrock | 2022-11-04T09:13:20.965Z idm:web-authorize_user_app_controller --> available_users
fiware-keyrock | (node:19) UnhandledPromiseRejectionWarning: Error: Invalid value { like: '%en%' }
fiware-keyrock |     at Object.escape (/opt/fiware-idm/node_modules/sequelize/lib/sql-string.js:52:11)
fiware-keyrock |     at MySQLQueryGenerator.escape (/opt/fiware-idm/node_modules/sequelize/lib/dialects/abstract/query-generator.js:709:22)
fiware-keyrock |     at MySQLQueryGenerator._whereParseSingleValueObject (/opt/fiware-idm/node_modules/sequelize/lib/dialects/abstract/query-generator.js:1972:41)
fiware-keyrock |     at MySQLQueryGenerator.whereItemQuery (/opt/fiware-idm/node_modules/sequelize/lib/dialects/abstract/query-generator.js:1730:19)
fiware-keyrock |     at /opt/fiware-idm/node_modules/sequelize/lib/dialects/abstract/query-generator.js:1649:25
fiware-keyrock |     at Array.forEach (<anonymous>)
fiware-keyrock |     at MySQLQueryGenerator.whereItemsQuery (/opt/fiware-idm/node_modules/sequelize/lib/dialects/abstract/query-generator.js:1647:35)
fiware-keyrock |     at MySQLQueryGenerator.getWhereConditions (/opt/fiware-idm/node_modules/sequelize/lib/dialects/abstract/query-generator.js:1990:19)
fiware-keyrock |     at MySQLQueryGenerator.selectQuery (/opt/fiware-idm/node_modules/sequelize/lib/dialects/abstract/query-generator.js:932:28)
fiware-keyrock |     at MySQLQueryInterface.select (/opt/fiware-idm/node_modules/sequelize/lib/dialects/abstract/query-interface.js:407:59)
fiware-keyrock |     at Function.findAll (/opt/fiware-idm/node_modules/sequelize/lib/model.js:1134:47)
fiware-keyrock |     at processTicksAndRejections (internal/process/task_queues.js:95:5)
@danijelakrstic
Copy link

Is there any news about this issue in version 8.3.0? Does anyone know when the issue will be fixed?

@apozohue10
Copy link
Contributor

Hello,

the bug has been fixed in master branch. We will release 8.3.1 with this fix included.

BR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants