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

0
votes
0answers
36 views

Requesting access token gives Microsoft.IdentityModel.SecurityTokenService.RequestFailedException error

I'm trying to get a basic provider-hosted app up and running on Azure Websites. The app seems to work fine when testing locally with IIS Express, but when I deploy to Azure Websites and run the same ...
0
votes
0answers
131 views

“The Azure Access Control service is unavailable” on Azure Sharepoint Farm via Oauth

we are trying to evaluate integrating Sharepoint 2013 as a Data Source into our app, i.e. create a low trust app that receives a token from Sharepoint and makes further inquiries with that token. The ...
0
votes
1answer
52 views

AppSecret key lifetime and expiration

I see when I use Seller Dashboard max token lifetime is 3 year. Does anybody know it how long it be valid if I use AppRegnew.aspx page?
0
votes
1answer
84 views

Rest API authentication

I need to use the SharePoint Rest API from a custom JavaScript application (outside from SharePoint). How can I authenticate the user to use the Rest API. I can not deploy a SharePoint app, I need ...
0
votes
0answers
62 views

How can I navigate through Pages in my App using the OAuth authorization process?

I'm working on a provider-hosted App which has several Sites like Index Manage Users The Users will need to navigate through specific sites in my App. I have a link on the Index Page which goes to ...
1
vote
1answer
48 views

Office 365 Authorization without login

I am developing a Mobile app which sends data to SharePoint list (SharePoint Online, Office 365). The users of the app should be able to save data in the list silently, without logging. Is this ...
1
vote
1answer
62 views

Switching from dynamic Client ID to constant Client ID

I'm working on a provider-hosted low-trust Share Point App. I used to develop it with the Debugging Function of Visual Studio which created a new Client ID and Client Secret every time the debugging ...
0
votes
0answers
23 views

SharePoint Checkchange event - Parameter token cannot be null or empty - oAuth

Below is my code to retrieve data from list. I have used oAuth. I got access token and context token. Now I want to use CheckChanged event. I gave autopostback = true also. Data is retrieving ...
0
votes
1answer
105 views

Unable to authorize SharePoint 2013 app unless Team Site Owner

I've built a SharePoint 2013 app that requests permissions on the fly via OAuth. The scope being requested is Web.Write. I've been able to authorize this app as a SharePoint user part of the Team Site ...
0
votes
1answer
79 views

Remote authentication using REST

I am trying to access SharePoint online using REST API's remotely. Office 365 Smart links are enabled for the site. As per this blog I don't receive wsse\\:BinarySecurityToken in the response. My code ...
0
votes
0answers
46 views

SP 2013 cross-platform Mobile App | HTML5 based | How to authenticate? OAuth?

I have a mobile app which will be cross-platform capable using cordova. So it is based on HTML5, CSS3 and JavaScript. My Problem is, that I don't know how to authenticate the App to Sharepoint to ...
2
votes
1answer
318 views

Can you create a multitenant provider hosted app without using the office store?

Stackexchange says this is a subjective question but I don't think it is. I am just trying to discover feasibility here. After a lot of reading online, I was able to successfully convert an app that ...
0
votes
0answers
105 views

How to Oauth to external application with Sharepoint App

did someone realized an app with oauth against an external API? Like Yammer, Twitter or something else? My Question is: How did you get this working? I've read, that Auth Headers will be cut of by ...
0
votes
0answers
94 views

Upload aspx file to host web in App Installed remote event receiver (rest file upload)

I'm creating AppInstalled remote event receiver that should upload aspx file to host web library (library is also created in app installed receiver). If I set app permissions to Web:Manage I can't ...
0
votes
1answer
143 views

Authenticate Winform Application with OAuth2 Sharepoint - An app running on a client machine

Is it possible to authenticate a winform application with Sharepoint 2013. I think I maybe able to do this use a winform browser but ideally I'd like to do follow a similar process that Google allows. ...
0
votes
0answers
220 views

Sharepoint Provider-Hosted app user and server authentication - multiple sessions

Simple question I hope. I wish to create a Sharepoint 2013 app that is Provider-Hosted. Users can authorize the app to access their account as described in: ...
1
vote
0answers
90 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 ...
2
votes
1answer
476 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 ...
1
vote
0answers
100 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 ...
1
vote
0answers
408 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 ...
2
votes
1answer
1k 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
132 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
64 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 ...
5
votes
2answers
794 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
168 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 ...
7
votes
1answer
1k 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
181 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
124 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
137 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
94 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
3k 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 ...