Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

[E2013/Exchange-Online] [EWSMA] [C#] [Win7/Win Server 2007/2010] OAuth authentication for Exchange 2013 and Exchange Online

$
0
0

I'm trying to use OAuth with EWS MA to authenticate against Exchange Server 2013 or Exchange Online. EWS Provides an assembly (Microsoft.Exchange.WebServices.Auth.Validation) which does token validation as follows:

string token = "..."; // where do I get this?
new AppIdentityToken().Validate(token);

What I'm wondering is where I obtain this token from. It isn't mentioned in the documentation for the assembly. Can I obtain it using WIF, or do I need to write custom code to get it? Do I need to have an Azure, Office, or Sharepoint app registered to get the token or can I register a client ID and secret somewhere else (assuming I need one at all).

Thanks in advance,

Matthew


Viewing all articles
Browse latest Browse all 7132

Trending Articles



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