Keycloak issue at XWiki

Hi. We are using keycloak as sso, and when we sign in with keycloak, it successfully log in the user, but unfortunately, the user loses the administer option, and can’t edit a page. The user has an access to create a page, though. How this issue with keycloak can be solved? Thank you.