URL ERROR when i use keycloak

when i use keycloak,I set useEmailAsCamundaUserId:true,and my goup is a/b,now,I find an error when request users.

  1. http://localhost:8080/camunda/api/engine/engine/default/group/a%252Fb
    2 .The request was rejected because the URL contained a potentially malicious String “%25”

The problem may be related to the fact that you are using “a/b” as the group name. When you encode the forward slash (“/”) as “%2F”, Camunda interprets the string “%2F” as potentially malicious and camunda may be refusing it.

Test it out by trying to modify the group name without using special characters.

William Robert Alves

很抱歉之前的问题描述有误,我是使用了这个配置useGroupPathAsCamundaGroupId:true,此时我的keycloak中的组是按照路径区分的,我不能换用其他组名,至于我看到的情况(%252F) 我想这应该是webapp 前端的bug;补充一点 我用的是 camunda 7.18.0版本

So, unfortunately in this case, I will not be able to help you. Sorry! I hope you manage to solve your problem.

Please, whenever possible, we will try to communicate in English, because I’m Brazilian, and our language is very different :sweat_smile: :smile:

Regards.
William Robert Alves

Thanks for your repay,my problem :when I set useGroupPathAsCamundaGroupId:true the request url contained ‘%252F’ due to my group id is ‘a/b’ in my keycloak. I think It’s a bug for client. additional my project depends on camunda 7.18.0! I was not allowed to modify the group name!what should I do :anguished:

@qi_song I’ll try to do some research as soon as I have some time, to try to help you with this.

If anyone knows how to help our friend, we appreciate it :smile:

William Robert Alves

1 Like