originally posted in:BungieNetPlatform
Hello all,
I'm new to the forums, new to this API, and new to this type of stuff in general, so be easy on me!
I've been playing around with this API for a couple days as a "side project" and having a lot of fun with it. What I've done so far is in a .NET (C#) MVC application - just because that's what I'm most comfortable with. I'm able to do all the public calls just fine, but I'd like to do authentication so that I can hit some of the private calls as well.
I've been having a pretty hard time figuring out how to successfully do my authenticating. I have VERY little experience with this kind of stuff, so I need the beginner's guide for it to make sense.
I saw a post on how to authenticate a PSN account using .NET here:
https://www.reddit.com/r/DestinyItemManager/comments/2ys1gp/c_psnbungie_oauth_class/
Unfortunately I'm on Xbox, so A) I haven't really been able to test the code and B) I don't really know how to re-engineer that to work for the Xbox login. I've seen some examples using Python and PHP out there, but I'm not well versed in either one of those, so it is far over my head.
So... Any good examples of how to authenticate an Xbox Live account using .NET?
Any help would be appreciated!
Thanks!
-
Take a look a the wiki
-
Edited by Joker D4N: 10/1/2015 2:44:06 PMI haven't looked at the bungie api nor the live oauth yet myself, but I believe this would be a good place to start on getting authenticated via XBL. [b]OAuth 2.0[/b] https://msdn.microsoft.com/en-us/library/hh243647.aspx [b]Single Sign On[/b] https://msdn.microsoft.com/en-us/library/hh826544.aspx You would have to probably look into getting XBL data from an XBL api or something once authentication is taken place, as I believe you need the token from the live oauth to make requests on an XBL api. P.S. This is just an idea of things to look into, do not take what I have said as 100% solid truth as I am not sure myself. (Yet)