I’m currently building a website that requires Steams openID provider to confirm if a Steam ID is correct. The documentation on it is extremely basic and it seems like a very basic task, however I can’t figure out how to configure it to work.
Essentially what happens is, the user will press a login button, it will then take them to an external steam page to login, steam will confirm their login and redirect them back to the Bubble page with their steam details.
Here is the information Steam gives “Steam can act as an OpenID provider. This allows your application to authenticate a user’s SteamID without requiring them to enter their Steam username or password on your site (which would be a violation of the API Terms of Use.) Just download an OpenID library for your language and platform of choice and use http://steamcommunity.com/openid as the provider. The returned Claimed ID will contain the user’s 64-bit SteamID. The Claimed ID format is: http://steamcommunity.com/openid/id/”
(this is Steam Community :: Steam Web API Documentation).
I currently have successful calls to Steam and receive
Each API has its own challenges. I’d guess you’re the first to try with Steam, and you’d have more responses if you provided more details on how you connect, so to help you we don’t have to start from scratch.
I guess thats the problem, I don’t really know where to start. As I said I’m getting successful calls from Steam and receiving the Type and URI. This is what I’m using:
I then have a button that uses a plugin to call the steam api action when pressed, however pressing this button does nothing
Not sure how to proceed from here, I’m clearly doing something wrong with the API but given its an OpenID I have no idea how to handle it. If I could provide more information I would, but as I said I don’t really know where to start other than what I have provided. Any other info I should give? Thanks for the help anyway
Thank you so much for the help, but unfortunately I am still stuck. The only documentation on the openID format for steam is provided here https://steamcommunity.com/dev - this is what made me assume it would be simple, the lack of documentation on it. Here is steams API documentation but you do not login through steam using the API, just the OpenID - which makes me feel that the documentation might be slightly irrelevant https://developer.valvesoftware.com/wiki/Steam_Web_API. Those threads were insightful but I couldn’t dig out any relevant information unfortunately.
I’ve read a few setup guides for steams openID such as (https://codepen.io/johnchristopherjones/post/setting-up-openid) but I can’t draw much with from them using bubble. I’m beginning to think that bubble may not actually support openID using the API connectors.
Here is also a link to a stackoverflow which shows how to do it in PHP http://stackoverflow.com/a/18680478. If anyone smarter than I could translate this into bubble api connector, I’d be so grateful! I’ve tried tinkering with pretty much everything and can’t progress.
(Ignoring the API section of the code and just looking at the open ID section)
@mishav thank you so much for all the help! Unfortunately i can’t do the authentication client side as the client is not trustworthy in this instance - it would have to be server side. I’ll shoot an email to the support or wait for any word from @emmanuel!