vicalloy / outline-docker-compose

Install a self-hosted Outline wiki instance in a couple of minutes
BSD 3-Clause "New" or "Revised" License
738 stars 120 forks source link

OIDC Authentication redirect_uri incorrect #58

Closed ChrisToxz closed 11 months ago

ChrisToxz commented 11 months ago

What are the exact steps to set this up for an external host? It seems like that http://localhost:8888 is everywhere. I got it accessible, but OIDC gives the following error:

Redirect URI Error
The request fails due to a missing, invalid, or mismatching redirection URI (redirect_uri).

The redirect URI in the URL, looks as expected.

I change my domain name in: env.oidc env.outline config.sh

Later on I found a reference in oidc-server-outline-client.json as well, but didn't solve the issue.

I did a clean-data or clean and now OIDC says The client identifier (client_id) is missing or invalid. However the client_id is matching with the references I can find.

ChrisToxz commented 11 months ago

Got it! You are supposed to adjust config.sh before running make install.