Menu

rupirate-passport: A full OAuth2 and OpenID Connect server for Laravel Rust
📰

rupirate-passport: A full OAuth2 and OpenID Connect server for Laravel Rust

DEV Community: laravel·Saad Majeed·about 9 hours ago
#4xeFtVap
#devtolaravel#devto#dev#token#tokens
Long article (2657 words) — no AI summary yet.
Reading 0:00
15s threshold

Laravel Rust is a young framework. It gives you routing, models, queues, mail, and auth, but it had no authorization server. If your app needed to hand out tokens to other apps, you had to build that part yourself.

rupirate-passport fills that gap. It is the Laravel Passport idea, rebuilt natively in Rust for Laravel Rust. Your app becomes the authorization server. Another app asks your users for permission, and your app hands it tokens. The crate does the server side: clients, authorization codes with PKCE, refresh tokens, personal access tokens, scopes, revocation, and introspection. It also speaks OpenID Connect, device flow, PAR, and DPoP.

It is version 0.1.4, published on crates.io . The code lives in the rupirate repo on GitHub , under rupirate/ . The full guide is in the crate's DOCUMENTATION.md .

What it covers

This is not a thin wrapper.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.