#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

#824 in Authentication

Download history 4/week @ 2024-02-16 18/week @ 2024-02-23 8/week @ 2024-03-01 4/week @ 2024-03-08 6/week @ 2024-03-15 57/week @ 2024-03-22 27/week @ 2024-03-29 4/week @ 2024-04-05

82 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
~298K SLoC