redwood icon indicating copy to clipboard operation
redwood copied to clipboard

Upgrade Clerk to use Clerk Core 2

Open justinadkins opened this issue 1 year ago • 2 comments

This PR updates redwood's usage of Clerk authentication to Clerk Core 2 which was introduced back in April 2024 as the new major version for Clerk.

Core 1 which is currently being used by Redwood will lose long term support in Q1 2025.

Core 2 also brings with it a lot of nice UI updates with @clerk/[email protected] seeing considerable improvements.

justinadkins avatar Oct 17 '24 21:10 justinadkins

This is nearly ready to go, I'm running into a TS build error due to this that I could use assistance on.

Screenshot 2024-10-17 at 3 25 55 PM

justinadkins avatar Oct 17 '24 21:10 justinadkins

Thanks for getting started on this. The types for our auth setup are pretty complicated 😰 I wrote all of that, so I'm probably best suited to jump in to help here, but unfortunately I'm super busy with upcoming conference talks and our RSC implementation. We have a team meeting on Tuesday. I'll see if I can ask someone else to take a look!

Tobbe avatar Oct 20 '24 09:10 Tobbe

Unfortunately no one was available to help. I'll see if I can carve out some time next week. I'm out traveling until Sunday.

Tobbe avatar Oct 24 '24 04:10 Tobbe

@justinadkins Just wanted to let you know I/we haven't forgotten about this PR. I'll personally make sure this gets merged. But it'll be some time still before I can spend time on it. I'm doing my last talk of the year next week. So the week after that I will have time for this

(We've decided to do an overhaul of all of our auth providers, so this fits perfectly with that initiative!)

Tobbe avatar Nov 20 '24 16:11 Tobbe

Hey all! I made a PR before seeing this one 🤦🏼 I'll close mine in favor of this one! Feel free to use my PR as reference since it's already using the @clerk/backend SDK instead of the deprecated @clerk/clerk-sdk-node.

Node SDK EOL

wobsoriano avatar Feb 17 '25 06:02 wobsoriano

Hey there, I'm cleaning up this repository to make it slightly easier to see movement. We're making big changes to everything we're doing, so just know that I appreciate the effort you put in here, and hope to get you helping out again.

peterp avatar Apr 08 '25 18:04 peterp

Thanks for the update @peterp! Congrats on the RedwoodSDK launch.

Got excited, so https://github.com/wobsoriano/redwood-clerk

wobsoriano avatar Apr 08 '25 22:04 wobsoriano