Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

Create App Sharepoint online 365 - .Get Context Token From Request Could not find a context token

$
0
0

PT-BR

Olá Pessoal , estou tentando criar um aplicativo hospedado em um servidor de domínio próprio (provider-hosted) . Ao rodar o aplicativo localmente pelo visual studio  eu consigo obter {StandardTokens} e todos os seus parâmetros: "AppContext","AppContextToken", "AccessToken", "SPAppToken" .

Ao publicar o Aplicativo no sharepoint online 365 e instalar o app em meu site e executar o app. Os parâmetros não passados via query string e nem por resquest form.

Em minha query string vem apenas os parâmetros: SPHostUrl,SPHostTitle,SPLanguage,SPClientTag,SPProductNumber,SenderId

Alguém poderia me ajudar com este problema?

English

Hello Guys, I'm trying to create an application hosted on your own domain server (provider-hosted). When running the application locally by visual studio I can get  StandardTokens} and all of its parameters, "AppContext", "AppContextToken", "AccessToken", "SPAppToken".

By posting application in sharepoint online 365 and install the app on my site and run the app. Non parameters passed via the query string and not for resquest form.

In my query string comes only parameters: SPHostUrl, SPHostTitle, SPLanguage, SPClientTag, SPProductNumber, SenderId



Could anyone help me with this problem?

.Cs

  string contextTokenString = TokenHelper.GetContextTokenFromRequest(Request);

 


Viewing all articles
Browse latest Browse all 8089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>