-
Notifications
You must be signed in to change notification settings - Fork 11.8k
7.6.1 login in android app with disabled user registration and only OIDC keycloak login enabled not working #36089
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
Comments
We observe the same behavior in the iOS App with server version 7.6.1 |
I used burp to look at the traffic between the iOS app and the rocket.chat server. I first started a local rocket.chat server with version 7.5.1 and then compared the requests to those with rocket.chat 7.6.1. Early in the sign-in process the app makes a request to (response of server version 7.6.1) {
"services": [
{
"_id": "<some id>",
"service": "mysso",
"clientId": "my_client_id",
"custom": true,
"serverURL": "https://sso.example.org/auth",
"tokenPath": "/realms/myrealm/protocol/openid-connect/token",
"identityPath": "/realms/myrealm/protocol/openid-connect/userinfo",
"authorizePath": "/realms/myrealm/protocol/openid-connect/auth",
"scope": "openid",
"buttonLabelText": "Login with SSO",
"buttonLabelColor": "#1f2329",
"loginStyle": "redirect",
"buttonColor": "#e4e7ea",
"tokenSentVia": "header",
"identityTokenSentVia": "default",
"usernameField": "preferred_username",
"mergeUsers": true,
"keyField": "username",
"rolesToSync": "",
"mergeUsersDistinctServices": false,
"accessTokenParam": null,
"avatarField": null,
"channelsAdmin": null,
"channelsMap": null,
"emailField": null,
"groupsClaim": null,
"mapChannels": null,
"mergeRoles": null,
"nameField": null,
"rolesClaim": null,
"showButton": null
}
],
"success": true
} All the lower field ( I don't know the code base of rocket.chat at all and can not assess whether this behavior is intended or not, but maybe it helps in someone else to fix the bug. |
i could fix this issue with creating a new custom oauth account-setting in rocketchat for keycloak (you will notice new config fields) and disabling the old one. In this new config block you will see a field Show Button on Login Page which defaults to true. |
We recreated the oauth config in our setup and I can confirm that this solves to login issue. Thanks @tcdev0 ! |
ok, after config recreate is seems to work again |
Description:
7.6.1 login in android app with disabled user registration and login form and only OIDC keycloak login enabled not working, it shows: "New user registration is currently disabled"
Steps to reproduce:
Workspace > Settings > Layout > Login > Show Default Login Form > Disabled
Workspace > Settings > Accounts > Registration > Registration Form > Disabled
Expected behavior:
Expected Login Button for Keycloak.
Actual behavior:
No Keycloak Button, only "New user registration is currently disabled" text.
Server Setup Information:
Client Setup Information
Additional context
The text was updated successfully, but these errors were encountered: