{"repo":"liamcurry/passport-steam","free":true,"listed":false,"github":"https://github.com/liamcurry/passport-steam","clone":"git clone https://github.com/liamcurry/passport-steam.git","description":"Steam (OpenID) authentication strategy for Passport and Node.js.","language":"JavaScript","stars":358,"topics":["steam","openid","passport","node"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Passport-Steam Passport strategy for authenticating with Steam using OpenID 2.0. Installation Usage Configure Strategy The Steam authentication strategy authenticates users using a steam account, which is also an OpenID 2.0 identifier. The strategy requires a validate callback, which accepts this identifier and calls done providing a user. Additionally, options can be supplied to specify a return URL and realm. A Steam API key can be obtained at http://steamcommunity.com/dev/apikey. However if you wish not to use an API key, you can include profile: false into the SteamStrategy object, which will disable the fetching of user data. Authenticate Requests Use passport.authenticate() , specifying the 'steam' strategy, to authenticate requests. For example, as route middleware in an Express application: Examples Basic example using Express For a complete, working example, refer to the signon example or follow the steps below. Do not forget to add your API key. To run the example, you can perform the following from the command line: 1. Clone the repository 2. Go into the repository 3. Download the required dependencies 4. Edit examples/signon/app.js with your favorite text editor 5. Update the localhost parameter and add your API key in this block within examples/signon/app.js 6. Save your changes to examples/signon/app.js 7. Start the example 8. Go to the address you put in realm in your browser. Basic example using Express with Router For a complete, working example, refer to the","default_branch":null,"files":null,"tree":[],"storefront":"/r/liamcurry","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/liamcurry/passport-steam/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}