#open-id #steam #vault #velocity #redirect #url

steam-openid

Simple Rust implementation of Steam OpenID

2 unstable releases

0.2.0 Feb 25, 2023
0.1.0 Feb 22, 2023

#886 in Authentication

Download history 4/week @ 2024-09-21 25/week @ 2024-09-28 10/week @ 2024-10-05 38/week @ 2024-10-12 1/week @ 2024-10-19 17/week @ 2024-10-26 21/week @ 2024-11-02

78 downloads per month

MIT license

6KB
107 lines

Steam OpenID

This is a simple implementation of OpenID for Steam authorization used by Velocity Vault.

How to

let openid = SteamOpenId::new("http://localhost:8080", "/callback").unwrap();

// Redirect the user to this url:
let redirect_url = openid.get_redirect_url();

// Then in your callback:
let steamid64 = openid.verify(req.query_string()).unwrap();

Dependencies

~6–19MB
~260K SLoC