JavaScript is required to use Bungie.net

#oauth

originally posted in:BungieNetPlatform
12/2/2015 1:00:42 AM
2

OAuth2 access for the API?

I've seen a few posts of people asking for OAuth2 access to the API. I'd like to 2nd, 3rd or even 4th the request, but I can't come up with a seamless implementation. Bungie uses OAuth against PSN and XBL, but doesn't provide its own form of authentication. Is the following flow possible or is it just bananas: 1. Open example.com/sign-in 2. example.com redirects to bungie.net/oauth/authorize?params=here 3. bungie.net presents provider auth links PSN/XBL 4. User signs in 5. PSN/XBL redirects back to bungie.net for handshake 6. bungie.net redirects back to example.com This flow would require some new session management logic, but it seems like it can leverage all of the existing provider specific logic. I could be missing something, but I'd love to hear any feedback on the idea.

Posting in language:

 

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

View Entire Topic
  • 1. Open example.com/sign-in (already there) 2. example.com redirects to bungie.net/oauth/authorize?params=here (already there) 3. bungie.net presents provider auth links PSN/XBL (already there) 4. User signs in (already there) 5. PSN/XBL redirects back to bungie.net for handshake (already there, this is where the token gets returned) 6. bungie.net redirects back to example.com (already there, the redirect point to www.bungie.net) So, i don't see what you are asking if it can change :(

    Posting in language:

     

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

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