Quantcast
Channel: Microsoft Online: SharePoint Online forum
Viewing all articles
Browse latest Browse all 10096

SharePoint provider hosted Addin Problem with client ID

$
0
0

Actually I am developing a provider hosted application where my application redirects to different pages of an web application hosted on a azure web site.

This web site also handles the app installed event.

My problem is that in the web.config of my application site I need  to add a client ID and Password and actually those information are been automatically generated by my SharePoint Online app registration page, after I register my application on the SharePoint online site.

So if I install my app on this SPOnline Site , it works fine, but if I try to install it on another site, when it redirects to my azure web site page, I got an error ( something related to authentication)

 

I need to add a unique client ID and password to my azure web site so when my SharePoint app in being installed on any Client ‘s SharePoint site it can be identified as safe, authenticated and well-functioning with my azure site.

In the current process  , I have to create an azure web site for each SharePoint Site where the application is being installed

If I am not wrong , the client ID Is generated by the SharePoint Site, and added to the web.config of the Azure site so it can identify it.

Can’t my application ClientID be added automatically to the SharePoint site?


How is this done with SharePoint plugins? Does the provider have to generate the Id and secret on each SharePoint Site. Or can I have a public Client Id automatically registered to all the SharePoint o365 sites?



Viewing all articles
Browse latest Browse all 10096

Trending Articles



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