zorn-v / nextcloud-social-login

GNU Affero General Public License v3.0
198 stars 137 forks source link

Custom OICD Login Fails with redirect to Bitbucket #378

Closed Hedius closed 1 year ago

Hedius commented 1 year ago

PHP 8.0

Nextloud: 24.0.7

Plugin version: 5.0.0

Since today we have the following problem:

  1. We use the Custom OpenID Connect provider with a certain name x.
  2. Usually the login button should redirect to https://domain/apps/sociallogin/custom_oidc/x
  3. However, since today it force redirects to https://domain/apps/sociallogin/custom_oidc/BitBucket
  4. This then fails with the error:

    Unbekannter CustomOpenIDConnect-Anbieter: "BitBucket"

Unknown provider BitBucket.

We do not use that provider.. Therefore, it fails.

I have seen in the changes for 5.0.0 that the generation logic for the authURL got modified. However, I was unable to identify the actual problem.

acericdev commented 1 year ago

Same issue, I have keycloak set up, but when i want to login with Keycloak, it says Unknown CustomOpenIdConnet provider BitBucket

image
zorn-v commented 1 year ago

Fixed in v5.0.2

acericdev commented 1 year ago

solved on my end now, thank you

Hedius commented 1 year ago

Thanks for fixing it :)