Skip to content

feat: add callback url support across pages - #800

Open
lajczi wants to merge 21 commits into
Hack4Krak:masterfrom
lajczi:issue/455
Open

feat: add callback url support across pages#800
lajczi wants to merge 21 commits into
Hack4Krak:masterfrom
lajczi:issue/455

Conversation

@lajczi

@lajczi lajczi commented Mar 1, 2026

Copy link
Copy Markdown
Collaborator

Closes #455

@lajczi
lajczi requested a review from a team as a code owner March 1, 2026 17:57
Sanielia
Sanielia previously approved these changes Mar 2, 2026

@Norbiros Norbiros left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ideally it would be great to pass it to the backend while registering, include it in registration confirm link, but I don't think anybody cares about that, so just fix the issues mentioned below

Comment thread frontend/app/middleware/auth.global.ts Outdated
Comment thread frontend/app/middleware/auth.global.ts Outdated
Comment thread frontend/app/components/AuthForm.vue Outdated
@lajczi
lajczi marked this pull request as draft March 2, 2026 15:58
@lajczi
lajczi marked this pull request as ready for review March 2, 2026 16:08
@lajczi
lajczi requested a review from a team as a code owner March 2, 2026 16:08
@lajczi lajczi changed the title feat(frontend): redirect to callback url after login feat(frontend): redirect to callback url after login & registration Mar 2, 2026
Comment thread backend/src/models/email_verification_request.rs
@lajczi
lajczi requested review from Norbiros and Sanielia March 2, 2026 16:34

@Sanielia Sanielia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

there is no callback on account/submit_personal_information

@lajczi
lajczi requested a review from Sanielia March 3, 2026 16:16
@lajczi

lajczi commented Mar 3, 2026

Copy link
Copy Markdown
Collaborator Author
image wtf

@Sanielia

Sanielia commented Mar 3, 2026

Copy link
Copy Markdown
Member

image wtf

flaky CI

Sanielia
Sanielia previously approved these changes Mar 3, 2026

@Norbiros Norbiros left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm a bit eppy, so I might be hallucinating/not seeing something, but how is that even supposed to work?

Comment thread frontend/app/middleware/auth.global.ts Outdated
Comment thread backend/src/routes/auth/register.rs
@hack4krak-frontend-dokploy

hack4krak-frontend-dokploy Bot commented Mar 8, 2026

Copy link
Copy Markdown

Dokploy Preview Deployment

Name Status Preview Updated (UTC)
Frontend ❌ Failed Preview URL 2026-07-15T18:46:18.260Z

@Sanielia Sanielia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Also add callback coming back to /panel/profile in frontend/app/panel/profile.vue in Zmień lub zobacz informacje o końcie

          <UButton icon="mdi:account" variant="ghost" color="neutral" @click="navigateTo('/account/submit_personal_info')">
            Zmień lub zobacz informacje o koncie
          </UButton>

Comment thread backend/src/routes/auth/register.rs Outdated
Comment thread frontend/app/middleware/auth.global.ts
Comment thread frontend/app/middleware/auth.global.ts
@lajczi lajczi changed the title feat(frontend): redirect to callback url after login & registration feat(frontend) add callback url support across pages Apr 1, 2026
@lajczi
lajczi requested a review from Sanielia April 1, 2026 13:29
Sanielia
Sanielia previously approved these changes Apr 1, 2026
lajczi added 2 commits April 19, 2026 14:28
Signed-off-by: lajczi <lajczi@disroot.org>
Signed-off-by: lajczi <lajczi@disroot.org>
@lajczi
lajczi requested a review from Norbiros April 19, 2026 13:30
@lajczi lajczi changed the title feat(frontend) add callback url support across pages feat: add callback url support across pages Apr 19, 2026
@lajczi lajczi closed this Apr 19, 2026
@lajczi lajczi reopened this Apr 19, 2026
Comment thread backend/src/utils/validation.rs Outdated
Comment thread backend/tests/routes/auth.rs Outdated
Comment thread frontend/app/components/AuthForm.vue Outdated
claude and others added 3 commits April 21, 2026 16:59
…il_confirmation_success

Consolidate duplicate test setup into the existing success test, adding
the no-callback Refresh header assertion there instead of a separate test.

https://claude.ai/code/session_013q6iJ5EWBJR6ZXAf3itbrd
Signed-off-by: lajczi <lajczi@disroot.org>
Signed-off-by: lajczi <lajczi@disroot.org>
Comment thread frontend/app/middleware/guest.ts Outdated
Signed-off-by: lajczi <lajczi@disroot.org>
Sanielia
Sanielia previously approved these changes May 2, 2026
Comment thread backend/tests/routes/auth.rs
@lajczi
lajczi marked this pull request as draft May 6, 2026 12:23
@lajczi
lajczi marked this pull request as ready for review May 31, 2026 18:45
@lajczi
lajczi requested a review from Sanielia May 31, 2026 18:45
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.

[Enhancement]: Callback link from /login

4 participants