oidc icon indicating copy to clipboard operation
oidc copied to clipboard

Expected 200 OK, got: 307 Temporary Redirect

Open RegularAdrian opened this issue 9 months ago • 1 comments

Apologies if I am missing something obvious and thank you for all the hard work.

Since the latest update of this app, I seem to be having problems with using this app to login my Immich instance through Nextcloud. Up until this point it has been working flawlessly for a few years.

The error I seem to be getting is "Expected 200 OK, got: 307 Temporary Redirect", and so cannot even access the Nextcloud login page/flow from the Immich instance.

I am also getting '307 Temporary Redirect' when checking the Issuer URL with curl separately from Immich (curl https://nextcloudurl.com/.well-known/openid-configuration)

Has something changed, or am I missing something which may be the answer?

RegularAdrian avatar Mar 30 '25 00:03 RegularAdrian

Hi, there was no major change in the processing of the oidc app with the lastest updates. Furthermore the app itself never causes a 307 Temporary Redirect especially not for the openid-configuration endpoint. Have there been changes at the web server you are using or a potential proxy in front of your web server? Are there any entries in the nextcloud log that give further information on what is going on?

H2CK avatar Mar 30 '25 09:03 H2CK

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Apr 30 '25 02:04 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar May 14 '25 02:05 github-actions[bot]