JavaScript is required to use Bungie.net

Service Alert
Destiny 2 will be temporarily offline tomorrow for scheduled maintenance. Please stay tuned to @BungieHelp for updates.

Forums

originally posted in:BungieNetPlatform
12/17/2014 1:46:28 AM
2
[quote]Endpoints that require authentication are not public. This limitation is necessary because Bungie.net does not actually manage or validate the user’s credentials. User credentials are authenticated by Google, Facebook, Microsoft or Sony. We are not able to share the sign in process with third parties.[/quote]The way I currently handle this is to first authenticate with the external provider, make the request to https://www.bungie.net/en/User/SignIn/{provider}, allow the redirects to do the work (where I can see the OpenID flow), then hold on to the cookies bungie.net wants to set. Obviously that method only works if you know the account details, which is what I think you mean by being unable to open up that process (and rightfully so!). However, is/would it be possible in the future for bungie.net to provide its own oAuth interface, where a given account holder grants third party applications the ability to access parts of their account or a subset thereof? Much like how when an application wants to have access to your Google/Facebook/Twitter/GitHub/Play Store apps/etc... account you have to first approve it and the permissions it has, and it continues to have access even when you're not actively using it. Also, how would you suggest we handle use cases where users are making requests to bungie.net directly (such as with a browser extension)? Should we embed our own API keys or ask them to register for one and use it?
English

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • +1 for OAuth support.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • I won't comment on how to work around the current limitations of the API. For the API key, please have your plugin send your API key. It is true that user can see your key (you may have noticed all Bungie.net apps send a key of their own), but this not used for authentication or authorization, only metrics providing the ability for us to contact the developer if their apps are problematic.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

You are not allowed to view this content.
;
preload icon
preload icon
preload icon