Skip to content

fix: use direct links for logging in #3339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Oct 9, 2024
Merged

fix: use direct links for logging in #3339

merged 12 commits into from
Oct 9, 2024

Conversation

leafty
Copy link
Member

@leafty leafty commented Oct 8, 2024

Fixes #3338, fixes SwissDataScienceCenter/renku-gateway#729.

Remove the /login page (it was only doing a redirect) and replace all links to /login with links to /api/auth/login which is the login endpoint.

Doing the redirect in-app added unnecessary complexity and caused HTTP 500 errors with the new gateway.

/deploy renku=leafty/update-login-tests

@leafty leafty temporarily deployed to renku-ci-ui-3339 October 8, 2024 10:05 — with GitHub Actions Inactive
@RenkuBot
Copy link
Contributor

RenkuBot commented Oct 8, 2024

You can access the deployment of this PR at https://renku-ci-ui-3339.dev.renku.ch

@leafty leafty temporarily deployed to renku-ci-ui-3339 October 8, 2024 11:54 — with GitHub Actions Inactive
@leafty leafty temporarily deployed to renku-ci-ui-3339 October 8, 2024 12:16 — with GitHub Actions Inactive
@leafty leafty temporarily deployed to renku-ci-ui-3339 October 8, 2024 12:29 — with GitHub Actions Inactive
@leafty leafty temporarily deployed to renku-ci-ui-3339 October 8, 2024 12:49 — with GitHub Actions Inactive
@leafty leafty temporarily deployed to renku-ci-ui-3339 October 8, 2024 12:58 — with GitHub Actions Inactive
@leafty leafty temporarily deployed to renku-ci-ui-3339 October 8, 2024 13:12 — with GitHub Actions Inactive
@leafty leafty marked this pull request as ready for review October 8, 2024 13:22
@leafty leafty requested a review from a team as a code owner October 8, 2024 13:22
@leafty leafty temporarily deployed to renku-ci-ui-3339 October 8, 2024 13:23 — with GitHub Actions Inactive
Copy link
Contributor

@andre-code andre-code left a comment

Choose a reason for hiding this comment

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

The code looks great 👏!
There’s one case that isn’t working correctly.

Copy link
Contributor

@andre-code andre-code left a comment

Choose a reason for hiding this comment

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

lgtm 🚀

@leafty leafty merged commit ae18305 into main Oct 9, 2024
18 checks passed
@leafty leafty deleted the leafty/fix-login-http-500 branch October 9, 2024 08:08
@RenkuBot
Copy link
Contributor

RenkuBot commented Oct 9, 2024

Tearing down the temporary RenkuLab deplyoment for this PR.

leafty added a commit that referenced this pull request Apr 22, 2025
Fixes #3338, fixes SwissDataScienceCenter/renku-gateway#729.

Remove the `/login` page (it was only doing a redirect) and replace all links to `/login` with links to `/api/auth/login` which is the login endpoint.

Doing the redirect in-app added unnecessary complexity and caused HTTP 500 errors with the new gateway.
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.

The LoginRedirect component causes HTTP 500 during the login flow HTTP 500 during the login flow
3 participants