DarrenBaldwin07 / clerk-rs

An unofficial Rust SDK for Clerk.dev
https://crates.io/crates/clerk-rs
MIT License
58 stars 23 forks source link

Add support for Axum framework #32

Closed brunoribeiro127 closed 1 month ago

brunoribeiro127 commented 5 months ago

This MR adds support for the Axum framework.

capveg-netdebug commented 4 months ago

Nice PR @brunoribeiro127 - what's the status of this? I'd love to use this code as I'm also working with Axum. I'm still reading through the changes but it doesn't look like you used https://docs.rs/axum-login/latest/axum_login/ - any reason?

brunoribeiro127 commented 4 months ago

@capveg-netdebug Thanks for reviewing. To be honest, I was not aware of axum_login at all. It seems like the best way forward though.

capveg-netdebug commented 4 months ago

Thanks for the quick reply. If that's the case, I might try to push some of my axum_login integration here for folks to look at/think about. It might be that my use-case is a bit unique in that I want to include some non-trivial state with the user identity that's stored locally to my app and not in Clerk but I'm curious how you're thinking about it as it affects the design.

mies commented 2 months ago

would love to have this merged in as well, thank you both for the work @brunoribeiro127 @DarrenBaldwin07

hazelmeow commented 1 month ago

@DarrenBaldwin07 What would it take to get this merged? :)