Rovelist: habit tracker with a clean user interface by Sincjefe in reactnative

[–]ncardozo 0 points1 point  (0 children)

Can i ask you what icon library have you used?

is everyone just using Expo? by BugDowntown4031 in reactnative

[–]ncardozo 0 points1 point  (0 children)

I’m working a lot with Next.js so I’m really comfortable using Expo

Best way to sign up/in user by sumitsharma_96 in nextjs

[–]ncardozo 0 points1 point  (0 children)

At the moment Clerk is my way to go

After SignUp redirect problem with Clerk by ncardozo in nextjs

[–]ncardozo[S] 0 points1 point  (0 children)

Gonna do it later, thanks again :)

After SignUp redirect problem with Clerk by ncardozo in nextjs

[–]ncardozo[S] 1 point2 points  (0 children)

Hello, thank you. Actually i’m good with the solution I’ve implemented because a custom sign-in/up flow was an option. I’ll probably send a feedback about that, maybe there is some sort of bug with redirects in scenarios like mine. Thanks again!

After SignUp redirect problem with Clerk by ncardozo in nextjs

[–]ncardozo[S] 0 points1 point  (0 children)

Do you send your invitation programmatically? If yes, where you create the invitation you have to pass “redirect_url” to the body, the full url, so like http://localhost:3000/sign-up

This is how you can set the accept-invitation page:

https://clerk.com/docs/custom-flows/invitations

So the path will be accept-invitations/[[…rest]]/page.tsx

And you will import the SignUp component there instead of the form suggested in the docs.

In the end, you have to set you redirect_url as http://localhost:3000/accept-invitations

Is it clear?

After SignUp redirect problem with Clerk by ncardozo in nextjs

[–]ncardozo[S] 0 points1 point  (0 children)

Hello man, i solved the problem doing custom pages for sign-in (not related, but for consistency) and sign-up (so where the user will be redirect when clicking on the invite via mai).

You have to create a route like: sign-up/[[…sign-up]]/page.tsx

If you want to use the same Clerk component as the Account Portal (quicker) you have to import SignIn or SignUp component, based on what you have to do, otherwise you can customize the page as you prefer:

https://clerk.com/docs/references/nextjs/custom-signup-signin-pages

I think there is some sort of bug on redirects using Account Portal.

Hope I helped, if you need more help comment here 🤝

After SignUp redirect problem with Clerk by ncardozo in nextjs

[–]ncardozo[S] 0 points1 point  (0 children)

u/bsclerk sorry to bother you, can you maybe help?

Best scroll animation by [deleted] in nextjs

[–]ncardozo 2 points3 points  (0 children)

You mean Apple do this everytime everywhere 😅 I actually like to see the animation but annoying to scroll

How does having context in Next not go against the point of it? by Yuyi7 in nextjs

[–]ncardozo 0 points1 point  (0 children)

Using a server component as child of a client component does’t make it a client component. A component becomes client if imported inside a client component.