zorn-v / nextcloud-social-login

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

/sociallogin/custom_oidc/gitlab_oidc 404 error #393

Closed lin1005q closed 1 year ago

lin1005q commented 1 year ago
➜  doc git:(main) ✗ curl https://xxxxxx/sociallogin/custom_oidc/gitlab_oidc
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache/2.4.54 (Debian) Server at xxxxxxx Port 80</address>
</body></html>

nextcloud 25.0.3 social-login 5.4.1

zorn-v commented 1 year ago

Proper url is https://xxxxxx/apps/sociallogin/custom_oidc/gitlab_oidc or https://xxxxxx/index.php/apps/sociallogin/custom_oidc/gitlab_oidc (depends on server config) You missing apps

lin1005q commented 1 year ago
➜  ~ curl https://xxxxxxx/apps/sociallogin/custom_oidc/gitlab_oidc 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache/2.4.54 (Debian) Server at xxxxxxxx Port 80</address>
</body></html>
lin1005q commented 1 year ago
www-data@nextcloud-server-7c8cfcc7f8-vbfmw:~/html$ php occ app:list
Enabled:
  - admin_audit: 1.15.0
  - bruteforcesettings: 2.5.0
  - cloud_federation_api: 1.8.0
  - comments: 1.15.0
  - contactsinteraction: 1.6.0
  - dav: 1.24.0
  - federatedfilesharing: 1.15.0
  - files: 1.20.1
  - files_accesscontrol: 1.15.1
  - files_pdfviewer: 2.6.0
  - files_rightclick: 1.4.0
  - files_sharing: 1.17.0
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - firstrunwizard: 2.14.0
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - notifications: 2.13.1
  - oauth2: 1.13.0
  - onlyoffice: 7.6.8
  - password_policy: 1.15.0
  - photos: 2.0.1
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - recommendations: 1.4.0
  - related_resources: 1.0.3
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sociallogin: 5.4.1
  - support: 1.8.0
  - survey_client: 1.13.0
  - systemtags: 1.15.0
  - text: 3.6.0
  - theming: 2.0.1
  - twofactor_backupcodes: 1.14.0
  - viewer: 1.9.0
  - workflowengine: 2.7.0
Disabled:
  - activity: 2.15.0
  - announcementcenter: 6.4.0
  - calendar: 4.2.3
  - circles: 23.1.2
  - contacts: 5.1.0
  - dashboard: 7.3.0
  - drawio: 2.1.0
  - encryption: 2.10.0
  - external: 5.0.0
  - extract: 1.3.5
  - federation: 1.12.0
  - files_automatedtagging: 1.15.0
  - files_external: 1.15.0
  - flowupload: 1.1.3
  - forms: 3.0.4
  - groupfolders: 13.1.1
  - mail
  - maps: 0.2.4
  - ncdownloader: 1.0.2
  - news: 20.0.1
  - nextcloud_announcements: 1.12.0
  - richdocuments: 7.1.0
  - richdocumentscode: 22.5.802
  - sharebymail: 1.13.0
  - suspicious_login
  - tasks: 0.14.5
  - twofactor_totp
  - updatenotification: 1.13.0
  - user_ldap
  - user_status: 1.3.1
  - weather_status: 1.3.0
lin1005q commented 1 year ago

Had this problem after upgrading from v23 to v25.

zorn-v commented 1 year ago

What about https://xxxxxx/index.php/apps/sociallogin/custom_oidc/gitlab_oidc ?

lin1005q commented 1 year ago

What about https://xxxxxx/index.php/apps/sociallogin/custom_oidc/gitlab_oidc ?

Thank you. It's ok!

In the v23 version, there is no need to add index.php.