Server to Server access?

I am trying to get started with Sky API, and am frustrated beyond belief. So far I have found the process to pretty much suck.

I have a django web app that periodically needs to use SKY API to read some data - Nothing more.

I assumed I could simply get my credentials (have them) , have the administrator connect to my app, and then I could make a request using my credentials…..nope that would be way to simple.

It appears that SKY API doesn't do anything like this as it requires a user and all sorts of other stuff that makes no sense to me.

If I am wrong, please help me understand where/how I figure out what to do.

Perhaps I need to create a user account in my web app for the school's admin, have them login, then do some crazy workflow to authorize the access, but this makes little sense to me as that is what they are doing when they connect the app isn't it?

Thanks for any useful examples or suggestions!

Comments

  • @Paul Hermans. I, too, am trying to do a simple read of data and I haven't figured it out either. I did find the following blog post that suggests a user generally needs to be involved. Having said that, there is some talk in the post about using refresh token calls. See this article for that information. I hope this help.

  • @Peter Fearey
    Thanks Peter, I will post anything I find (if I get anywhere). Appreciate the links.

  • @Peter Fearey
    This might be useful too:

  • @Paul Hermans Hi Paul,

    I agree that it's frustrating that BB has decided against a credential (eg HTTP Basic Auth) approach to security for SKY but as has been pointed out in these pages time and again, this is very unlikely to change.

    Instead, I'd suggest that you search the community for "headless", "unattended", etc and you'll come across quite a few posts on this subject.

    If you have access to Visual Studio (the Community version is free), you can use our SKYLib•NET code library and SDK to get your tokens and then save them to a secure location for refreshing by an unattended application (which doesn't have to be .NET).

    Cheers,

    Steve Cinquegrana | CEO and Principal Developer | Protégé Solutions

  • @Steven Cinquegrana
    Thanks Steven! I don't really expect them to change on my behalf, was just surprised. That said, I didn't know to search for some of the terms you suggested……so I will be reading a bit :-)

    Thanks

Categories