Worteks / yii2auth-oidc

OIDC connector for yii2-authclient
Other
4 stars 0 forks source link

Problems with Keycloak and this extention #1

Open gvalmana opened 4 years ago

gvalmana commented 4 years ago

Buenos días, estoy intentando configuar esta extención para emplear Keycloak Project como servidor de autenticación, el sistema funciona bien, pero cuando el usuario se conecta empleando el portal de Keycloak obtengo el error Request failed with code: 404, message: <html><head><title>Error</title></head><body>404 - Not Found</body></html> This is my config of the extesion

            'clients' => [
                'yii2' => [
                    'class' => 'worteks\yii\authclient\OIDC',
                    'domain'=>'http://127.0.0.1:8080',
                    'clientId' => 'yii2',
                    'clientSecret' => 'd5cb6444-7c3a-4e31-aa57-1d0904f48216',
                    'authUrl'=>'/auth/realms/yii-demo/protocol/openid-connect/auth',
                    'tokenUrl'=>'/auth/realms/yii-demo/protocol/openid-connect/token',
                    'userInfoUrl'=>'/auth/realms/yii-demo/protocol/openid-connect/userinfo',
                ],               
            ],

Saludos Gustavo

coudot commented 4 years ago

Hello,

you should use English for bug report. The error means you configured wrong URLs, or that your OIDC server is not well configured.