Skip to content

auth/callback/page.tsx wraps CallbackClient in Suspense with no fallback, so the sign-in-completion page renders blank during the boundary's initial resolution #265

Closed

Description

@chonilius

src/app/auth/callback/page.tsx does:

export default function AuthCallbackPage() {
  return (
    <Suspense>
      <CallbackClient />
    </Suspense>
  );
}

No fallback prop is passed to Suspense. CallbackClient uses useSearchParams(),
which requires a Suspense boundary in the App Router — this boundary exists for exactly
that reason — but with no fallback, React renders nothing at all for the (typically
brief, but non-zero) window before the boundary resolves, rather than any loading
indicator. CallbackClient itself does render a "Finishing sign-in…" message once
mounted, but that's not the same as a fallback — it only appears after the Suspense
boundary has already resolved and the component has actually started rendering.

This is the very last step of the sign-in flow — the page a user lands on immediately
after authorizing MergeFi on GitHub — and it currently has a window where the page can be
entirely blank with no indication anything is happening, right when a user is most likely
to be impatiently watching for confirmation that sign-in succeeded.

Suggested fix: pass a fallback to Suspense — even a simple centered spinner or the
same "Finishing sign-in…" text CallbackClient already shows post-mount — so there's no
blank-page window during the boundary's resolution.

Activity

  1. added
    bug
    good first issue
    help wanted
    enhancement
    on Aug 21, 2026
  2. added
    Stellar Wave
    on Aug 25, 2026
  3. ezekielnathaniel070-ai commented on Aug 25, 2026

    @ezekielnathaniel070-ai

    @ezekielnathaniel070-ai has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I would sincerely love to work on this issue because I have strong experience in working and dealing with complex workflow logic.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @ezekielnathaniel070-ai to this issue.

  4. p4uld4vid016-code commented on Aug 25, 2026

    @p4uld4vid016-code

    @p4uld4vid016-code has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hello maintainer, i would like to work on this issue

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @p4uld4vid016-code to this issue.

  5. Uchechukwu-Ekezie commented on Aug 25, 2026

    @Uchechukwu-Ekezie
    Contributor

    @Uchechukwu-Ekezie has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hello maintainer, i would like to work on this issue

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Uchechukwu-Ekezie to this issue.

  6. akinerin commented on Aug 25, 2026

    @akinerin

    @akinerin has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Please I can work on this quickly

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @akinerin to this issue.

  7. drips-wave commented on Aug 25, 2026

    @drips-wave

    Congratulations, @Uchechukwu-Ekezie! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.

    🧑‍💻 @Uchechukwu-Ekezie: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  8. drips-wave commented on Aug 25, 2026

    @drips-wave

    This issue has been completed by @Uchechukwu-Ekezie as part of the Stellar Wave Program's 8th Wave 🥳

    😎 @Uchechukwu-Ekezie: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

  9. removed
    Stellar Wave
    on Oct 15, 2026
  10. added
    Stellar Wave
    on Oct 15, 2026
  11. removed
    Stellar Wave
    on Oct 15, 2026
  12. added
    Stellar Wave
    on Oct 15, 2026
  13. removed
    Stellar Wave
    on Oct 15, 2026
  14. added
    Stellar Wave
    on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar Wavebugenhancementgood first issuehelp wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions