owncloud / openidconnect

OpenId Connect (OIDC) Integration for ownCloud
GNU General Public License v2.0
6 stars 2 forks source link

PKCE code verifier not specified #249

Closed WYmindsky closed 1 year ago

WYmindsky commented 2 years ago

openidconnect: 2.1.0 keycloak: 8.0 owncloud: 9.0.1

I can input username and password (all right) 图片

then redirect new url and get error: Error in OpenConnect: PKCE code verifier not specified 图片

this is config.php 'http.cookie.samesite' => 'None', 'openid-connect' => [ 'insecure' => true, 'frontchannel_logout_session_required' => true, 'provider-url' => 'http://example.com/auth/realms/myrealm', 'client-id' => 'owncloud', 'client-secret' => 'xxxx', 'loginButtonName' => 'OpenId Connect', ],

michaelstingl commented 2 years ago

Duplicate for https://github.com/owncloud/openidconnect/issues/218 ?

WYmindsky commented 2 years ago

Duplicate for #218 ?

i set in config.php, but still error. 'http.cookie.samesite' => 'None'

DeepDiver1975 commented 1 year ago

Usually this error continues to exist if the session was created BEFORE the cookie setting was changed in ownCloud. Sessions need to be fully deleted on server side.