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

OpenID Connect Login with keycloak integration issue #299

Open
shafiunmiraz0 opened this issue Oct 26, 2024 · 0 comments
Open

OpenID Connect Login with keycloak integration issue #299

shafiunmiraz0 opened this issue Oct 26, 2024 · 0 comments

Comments

@shafiunmiraz0
Copy link

Greetings everyone!!
I am trying to intregrate the keycloak in nextcloud aio 8 and nextcloud version 29. I have added below lines in the config.php
'allow_user_to_change_display_name' => false,
'lost_password_link' => 'disabled',
'oidc_login_default_quota' => '1000000000',
'oidc_login_button_text' => 'Log in with OpenID',
'oidc_login_hide_password_form' => false,
'oidc_login_use_id_token' => false,
'oidc_login_default_group' => 'oidc',
'oidc_login_allowed_groups' => null,
'oidc_login_filter_allowed_values' => null,
'oidc_login_use_external_storage' => false,
'oidc_login_scope' => 'openid profile',
'oidc_login_proxy_ldap' => false,
'oidc_login_disable_registration' => true,
'oidc_login_alt_login_page' => false,
'oidc_login_tls_verify' => true,
'oidc_create_groups' => false,
'oidc_login_webdav_enabled' => false,
'oidc_login_password_authentication' => false,
'oidc_login_public_key_caching_time' => 86400,
'oidc_login_min_time_between_jwks_requests' => 10,
'oidc_login_well_known_caching_time' => 86400,
'oidc_login_update_avatar' => false,
'oidc_login_skip_proxy' => false,
'oidc_login_code_challenge_method' => '',
'overwriteprotocol' => 'https',
'oidc_login_client_id' => 'nextcloud',
'oidc_login_client_secret' => 'secret', // Client Secret: Got to Clients -> Client -> Credentials
'oidc_login_provider_url' => '',
'oidc_login_end_session_redirect' => true, // Keycloak 18+
'oidc_login_logout_url' => '', // Keycloak 18+
'oidc_login_auto_redirect' => true,
'oidc_login_redir_fallback' => true,
'oidc_login_attributes' => array(
'id' => 'preferred_username',
'mail' => 'email'

I have maintained correct syatex. But whenever I try to login using keycloak the page redicts to the login page back. It is not taking to anyware. Not letting login the user
To inform that I have deployed nextcloud aio using Helm charts and it is running on a production grade k8s cluster.

I also tried installing the openID connect login via the admin dashboard. But still not working. But keycloak is working fine for Social Login.

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

1 participant