Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Notification Hub authorization header

$
0
0

Hi all, 

I'm trying to use the Notification Hub REST api to send a GCM notification. I have read through the documentation on this page

http://msdn.microsoft.com/en-us/library/azure/dn223273.aspx

The bit I dont understand is the "Authorization" header. How am I supposed to generate this. I have been reading some blogs and everyone seems to say one thing. 

Am I supposed to use one of the following, or ALL?

- The SHARED ACCESS KEY that I generate from the Azure control panel under the "Configure" section?

http://social.msdn.microsoft.com/Forums/windowsazure/en-US/3b3a7bb5-eaa0-497c-9ee8-856a1f5dfe7f/how-to-generate-a-sas-token-for-notification-hubs?forum=servbus) 

http://social.msdn.microsoft.com/Forums/windowsazure/en-US/8aad223c-d299-4a1f-8eb4-3d4000a2b5ad/40103-invalid-authorization-token-signature-error-registering-to-notification-hub?forum=winappswithhtml5

- The Full Connection String?

- Shared Access Signature Authentication?

http://msdn.microsoft.com/library/azure/dn170477.aspx

I'm totally confused? 


Viewing all articles
Browse latest Browse all 1916

Trending Articles



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