Skip to content

Conversation

@davinotdavid
Copy link
Contributor

@davinotdavid davinotdavid commented Jan 5, 2026

Description of the Change

In Accounts, after we moved the contact support form from the Django route rendering a Vue form only -> the route in the Vue SPA, the URL actually changed from /contact/ to /contact.

The trailing / causes Accounts to resolve the URL through the Django router (and prompts a login) instead of the being caught by the Vue SPA and handled by its Vue Router.

Benefits

Contact support link won't prompt a re-login

How to test

  1. Ensure that you have the following .env vars in your frontend/.env file:
VITE_AUTH_SCHEME=oidc
VITE_SUPPORT_URL=https://accounts.tb.pro/contact
  1. On an incognito window / without being logged in, navigate to localhost:8080
  2. On Keycloak's login page, click the Contact support link
  3. See that you are redirected to https://accounts.tb.pro/contact without being prompted to login

Applicable Issues

Fixes #1384

Copy link
Collaborator

@devmount devmount left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks!

@davinotdavid davinotdavid merged commit c41fdfb into main Jan 5, 2026
8 checks passed
@davinotdavid davinotdavid deleted the fix-accounts-contact-support-link branch January 5, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ensure the "contact support" link in Appointment points to the correct support page.

2 participants