#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

#949 in Authentication

26 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
~265K SLoC