Skip to content
This repository was archived by the owner on Oct 17, 2019. It is now read-only.
This repository was archived by the owner on Oct 17, 2019. It is now read-only.

Not redirecting to IDP #2

@rasheedamir

Description

@rasheedamir

Not sure whats wrong but I am not able to get gitlab redirected to my IDP keycloak for login; I keep getting this landing page

screen shot 2017-08-18 at 10 50 25

I am trying to setup gitlab with keycloak using openid connect.

Here is the environment variable:

          - name: GITLAB_OMNIBUS_CONFIG
            value: |
               gitlab_rails['omniauth_enabled'] = true
               gitlab_rails['omniauth_allow_single_sign_on'] = true
               gitlab_rails['omniauth_block_auto_created_users'] = false
               gitlab_rails['omniauth_auto_sign_in_with_provider'] = 'keycloak'
               gitlab_rails['omniauth_providers'] = [{'name'=>'openid_connect', 'args'=>{'name'=>'keycloak', 'scope'=>['openid', 'profile'], 'response_type'=>'code', 'discovery'=>true, 'issuer'=>'https://keycloak.dd.theapp.com/auth/', 'client_options'=>{'port'=>'443', 'scheme'=>'https', 'host'=>'keycloak.dd.theapp.com', 'identifier'=>'gitlab', 'secret'=>'b7875680-6ad7-44a5-97cb-bd210789eb41', 'redirect_uri'=>'http://gitlab.dd.theapp.com/users/auth/openid_connect/callback', 'authorization_endpoint'=>'/auth/realms/tools/protocol/openid-connect/auth', 'token_endpoint'=>'/auth/realms/tools/protocol/openid-connect/token', 'userinfo_endpoint'=>'/auth/realms/tools/protocol/openid-connect/userinfo'}}}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions