torbenraab / plane

OpenID Connect Support for Plane🔥 🔥 🔥 Open Source JIRA, Linear and Height Alternative. Plane helps you track your issues, epics, and product roadmaps in the simplest way possible.
http://plane.so
GNU Affero General Public License v3.0
60 stars 11 forks source link

Fix/access token retrieval failing #26

Closed halilbahar closed 7 months ago

halilbahar commented 7 months ago

The key change for this PR is this:

os.path.join(WEB_URL, ''),

This adds a trailing slash to the redirect_uri. Additionally, better logging and handling were implemented.

Keycloak appears to be stricter than other providers. Hopefully, this will also resolve the issue for the other providers.