#steam #open-id #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

#849 in Authentication

Download history 3/week @ 2024-02-15 18/week @ 2024-02-22 9/week @ 2024-02-29 3/week @ 2024-03-07 7/week @ 2024-03-14 6/week @ 2024-03-21 60/week @ 2024-03-28

76 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–21MB
~297K SLoC