kinde-starter-kits / python-starter-kit

Starter kit to get going with Python
MIT License
13 stars 5 forks source link

Bug: LOGOUT_REDIRECT causes in infinite redirect loop #12

Open triviatroy opened 6 months ago

triviatroy commented 6 months ago

Prerequisites

Describe the issue

The LOGOUT_REDIRECT config variable points to the logout() function which calls the Kinde_client.logout() function which redirects to LOGOUT_REDIRECT which results in an infinite redirect loop.

Starter kit URL

https://github.com/kinde-starter-kits/python-starter-kit

Operating system(s)

macOS

Operating system version(s)

N/A

Further environment details

No response

Reproducible test case URL

No response

Additional information

No response

triviatroy commented 6 months ago

Change the config default LOGOUT_REDIRECT_URL to this: LOGOUT_REDIRECT_URL = f"https://{SITE_HOST}"