Questions tagged [oauth]

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 their credentials (typically, a username and password pair), using user-agent redirections.

Filter by
Sorted by
Tagged with
1
vote
0answers
212 views

ask for access permissions on the fly in SharePoint 2013 using php

I'm trying to get accesstoken from the authorization code as described in here - but using PHP app. http://msdn.microsoft.com/en-us/library/office/jj687470(v=office.15).aspx I was able to do this ...
3
votes
1answer
1k views

SharePoint Online Provider Hosted App Context Token Is NULL On Postback

I have a provider hosted app in SharePoint Online. The problem I have is sometimes on postback the TokenHelper Class method GetContextTokenFromRequest is returning Context Token as NULL ...
2
votes
0answers
202 views

Experiences and authentication experiences adding a struts2 web application as an App (HTML) to SharePoint 2013

from my question title, you can tell I have no experience developing web applications for SharePoint applications Per requirements, I need to develop Java Web Applications (run on its own Tomcat ...
2
votes
0answers
2k 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 this link . But I get a failure Token request failed. {"The remote ...
6
votes
1answer
3k 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
262 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 ...
8
votes
3answers
7k 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
264 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 ...
10
votes
2answers
5k 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
1answer
312 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
1answer
291 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 regarding ...
1
vote
0answers
214 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 ...
3
votes
3answers
234 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 ...
2
votes
1answer
5k 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 ...

1
2