Account first, Steam second
Create the account layer your Steam inventory will live under.
This flow gives every user a real Pent.GG account with email and password, then links Steam afterward. That keeps your app ready for normal auth, profile settings, saved listings, future notifications, and non-Steam features while still letting you pull Steam items and floats into the dashboard.
01
Create account
Store email, username, password hash, and timestamps in your site database.
02
Connect Steam
Use Steam OpenID from inside the dashboard and save the linked Steam ID to the logged-in user.
03
Load inventory data
Use the connected Steam ID to fetch all inventory items and enrich them with floats, wear, pricing, and rank data.
Create your account
After sign up, the user lands in the dashboard and can connect Steam.
Passwords should be stored with Werkzeug password hashing. Steam IDs should stay in a separate linked table so your site account and connected Steam account remain cleanly separated.