Simple oauth2 implementation in Rust