Skip to content

Rocket.rs rust web application to read Rails session cookies and lookup the associated user.

Notifications You must be signed in to change notification settings

mclosson/whoami-rocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whoami Rocket

Session sharing diagram

Overview

Demonstration project to explore sharing user sessions between a Ruby on Rails application and a web service written in Rust. This application is written using the rocket framework from https://rocket.rs

Setup

$ cp .env.example .env
$ ROCKET_PORT=8000 cargo run --release
$ curl --cookie "_myrailsapp_session=YOUR_RAILS_SESSION_COOKIE_HERE" http://localhost:8000/whoami

About

Rocket.rs rust web application to read Rails session cookies and lookup the associated user.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages