OAuth is an open standard for authorization. OAuth provides a method for clients to access server resources on behalf of a resource owner (such as a different client or an end-user). It also provides a process for end-users to authorize third-party access to their server resources without sharing ...

learn more… | top users | synonyms

1
vote
0answers
64 views

Token Request Failed: Remote Server returned error (400) while fetching the token

My Requirement is to retrieve a document from SharePoint online using a .NET console application. I followed the steps in the link ...
0
votes
0answers
8 views

Token Request Failed: Remote Server returned a bad request (400) while fetching the token [duplicate]

Using SharePoint 2013 TokenHelper class when there is no HttpContext.Current I see a similar issue but the very first time when I fetch a token I see this. I am using a .net Console Application. ...
1
vote
0answers
133 views

Login from High-Trusted SharePoint Provider Hosted App using FBA

I created a sharepoint provider hosted app (high-trusted app) that uses an asp .net membership provider customized to use an external service. I configured the sharepoint web application to use the ...
0
votes
1answer
43 views

OData Authentication without site URL

We are currently in the process of developing a range of SharePoint applications which will have mobile apps alongside them which connect to the SharePoint site. We are having a few issues getting ...
1
vote
0answers
30 views

How to create simple OAuth / REST application for hosted sharepoint? [closed]

We are looking for information on how to create very simple REST application for sharepoint hosted by Microsoft (Office 365) which uses OAuth. Basically, we are just started investigating this and we ...
4
votes
1answer
158 views

OAuth Authentication and Authorization to REST API from a Node.js Javascript program

I have a Javascript that retrieves the UserCollection from a Site and does some other things from the REST API. This script runs in my own Node.js server. Currently, I use HTTP Basic Authentication ...
0
votes
1answer
102 views

oAuth: How to get the SPUser when you only have the token?

Goal: I try to get the preview of Documents working when documents are hosted in SP2010 and crawled by SP2013. Context: To render a document, the index creates a link that returns an iframe that ...
0
votes
0answers
38 views

StandardTokens make OAuth communication fail

I have created a SharePoint provider hosted app. It is a mvc4 application which uses OAuth to communicate with Jira. The communication is based on OAuth RSA-SHA1 (our public key is used by Oatuh ...
6
votes
1answer
252 views

How do I renew a Refresh token?

Let's say I have a provider-hosted app that's installed on a client's Office 365 site. A user clicks the app and they're redirected to our site. The redirects gives us (among other things) a Refresh ...
0
votes
0answers
72 views

Can SharePoint 2013/Online act as authentication provider for a SaaS

I have found lots of documentation about how to login to SharePoint using Google, Facebook, Microsoft Account, etc. But can you make it the other way around? Can SharePoint act as an authentication ...
1
vote
0answers
60 views

Sharepoint Oauth URL returns 404

One of the steps in doing the sharepoint OAuth flow redirects me to https://accounts.accesscontrol.windows.net/metadata/json/1?realm=https://<mysite>.sharepoint.com I have 2 queries ...
1
vote
0answers
95 views

OAuth Authentication & Azure

I'm new to SharePoint development and using Office 365 SharePoint 2013. We need to replace our AD cloud based authentication servers with OAuth authentication. Am I correct in thinking that our SP ...
1
vote
2answers
66 views

Can I use OAuth without an app?

We have a service we host ourselves (on Azure) that accesses Office 365 via CSOM. We'd like to access a user's site on their behalf without previously installing an app on their site collection. Is ...
0
votes
0answers
225 views

OAuth2 examples with SharePoint

I want my Rails or PHP program to read/write/navigate my SP Online internal document sites. Question: do you know of any open source software that is doing this? What I have found: MS Intro to ...
2
votes
1answer
2k views

Using SharePoint 2013 TokenHelper class when there is no HttpContext.Current

SharePoint 2013 Apps in Visual Studio have a TokenHelper class that simplifies using OAuth to connect to a SharePoint 2013 ClientContext. I am using this class to remotely connect to a SharePoint ...