SkyDrive WinRT API Login programmatically - windows-runtime

As the title says, I'm looking for a way to login to SkyDrive without having to show the UI to login not even once. The reason we're trying to do this is because we need to run some integration tests, and we need to login for that, but we can't add UI to those.
Thanks in advance.

I think Live Connect API doesn't provide a way to login via code-behind or via custom login panel. If you have access token then you can use REST APIs to get data like https://apis.live.net/v5.0/me?access_token=<Access-Token> will returns JSON response of id, first name, last name, profile link etc.
Possible ways sign in to Live
Creating a non-web-view-based sign-in screen for Microsoft SkyDrive
Using REST to Login user to Windows Live

Related

Chatbase Login Integration

I integrated my application with the chatbase, but I would like my clients to have direct access to their email directly, as if it were a single step.
When I click a button in my application, it is directed to the logged-in chatbase screen.
Today I can only get it to the login screen, where it is still necessary to put the password to go to the dashboard, not logging directly into the application.
Is this possible? if yes, is there any kind of quickstart?
I followed the tutorial below to get to the login area, remembering that I use node.js
https://scotch.io/tutorials/easy-node-authentication-google
Thank you for your interest in Chatbase. There is currently no support for OAuth logins. Please see our recommended steps for third party integrations below:
Have the user open a Chatbase account with a Google linked email address
Have the user create a Bot in order to obtain the API key
Have the user integrate their analytics on your platform by providing the API key
Send the messages from their bot to their Chatbase API
Provide the user deeplinks to the Chatbase reports from within your UI

Reading other user's Google Fit data via REST API

We have a user who gave consent for our Cloud Project to read their Fit data through the Android app. We now want user's coach to access their Fit data through a web UI associated with our Cloud Project. Is this possible, and if so, what is the right way to do it?
Can cross-client identity be used? https://developers.google.com/identity/protocols/CrossClientAuth
I was trying to replace "me" with "user#gmail.com" in the REST endpoint but it doesn't work:
https://www.googleapis.com/fitness/v1/users/me/... ->
https://www.googleapis.com/fitness/v1/users/user#gmail.com/...
Thanks!
There is a mechanism for Android apps to obtain offline access for web back-ends highlighted in the CrossClientAuth guide from your question. With offline access, you can theoretically serve or store that data in any way that the user has consented to. Any access controls of that data to another person is something that you'd have to handle on your own.

windows phone 8.1 app registration through facebook

I want to integrate facebook login in my app for registration i am following this link but not able to understand how to get the Windows Store ID in step 1.2.. can anyone please help..
Have you tried to put the code
Uri _callbackUri = WebAuthenticationBroker.GetCurrentApplicationCallbackUri();
somewhere in your app, for example at the end of App.OnLaunched() method, then put a breakpoint after it, run the app and examine the returned value.
So the windows store id can be retrieved in two ways. One is programatically by calling this method
Uri _callbackUri = WebAuthenticationBroker.GetCurrentApplicationCallbackUri();
And the other way is to login to your microsoft account which you would have registered in dev.windows.com then perfom the following steps
Navigate to dashboard.
Select the app for which you want to integrate the FB login.(If you haven't registered an app in this account yet then I recommend you do it. Because once you do that and login via Visual studio the above mentioned URI method will return same store Id)
Then navigate to that app and on the left you will see a options like Acquistions,Analytics etc. there click on App Management and inside that click on App Identity.
In the app identity page you can find a field name Package SID which is your store id.
Hope this helps!

console based application using box.com outh with out asking user to login and allow the app

Here is my situation. I am developing a console based application using c#. Here we can not have user login. Only i can do is using api i need to get auth_code then access token and refresh token. I am very happy if somebody can answer, how to implement this in my console app. i mean how to get the auth_code with out asking user to login and allow the application.
Here if i run a cURL command i am getting html response, which is the complete html for box login page.
Regards,
Pradeep
The current OAuth 2 flow requires the user to go through the browser and can't be done programmatically.

2 Legged Flow for service account authentication BOX

Is there any way for going around the login page required after getting a BOX token.
I need to use the BOX account as an admin so is there any workaround so that it can be done programatically.
If by the login page you're referring to the credentials page at:
https://www.box.com/api/1.0/auth/{your ticket}
that you redirect the user to after getting a ticket from:
GET https://www.box.com/api/1.0/rest?action=get_ticket&api_key={your api key}
Then the answer is currently no. As far as I know there's no plans to support an authentication method involving directly supplying credentials.
You can easily fill out the form and submit it without ever opening a browser. If you are using Python, you can do this with Mechanize or Clientform. I suppose you can do the same thing with other languages as well. But I'm not sure what the point is, since you need to authenticate your user, and the Box login page does the job nicely. If you don't want to make the user sign in every time, then serialize the token with a timestamp denoting how long you want it to be good for and use that token until it expires.
good luck,
Mike
there has been new developments since this question was posted, and now it's possible to use JWT (JSON Web Token) and Box Developers Edition to access Box.
If you create a developer account you will be able to create App users and login using an enterprise token and a private key file. Check out the docs for more information: Box Developer Edition
Additonally, boxsdk comes with support for Box Developer Edition