There are two main models of authenticating client side codings in Add-in model or specially when is comes to SharePonint Online.
Option One :
Using UserName + Password which allowed from tenant level which is bad and end of the day you need to hard code your password and username in config file where you open the doors to security thret.
Eg :
UseOffice365Authentication
&
UseNetworkCredentialsAuthentication
Option Two:
This is also contains tenant level authentication with our control and also with app only password.
//Create new App principle
_layouts/15/AppRegNew.aspx
//Assign Persmissions to app principle
_layouts/15/AppInv.aspx
Tips - App permission XML could be easily generated by SharePoint Add-in project AppManifest as below.
Option One :
Using UserName + Password which allowed from tenant level which is bad and end of the day you need to hard code your password and username in config file where you open the doors to security thret.
Eg :
UseOffice365Authentication
&
UseNetworkCredentialsAuthentication
Option Two:
This is also contains tenant level authentication with our control and also with app only password.
//Create new App principle
_layouts/15/AppRegNew.aspx
//Assign Persmissions to app principle
_layouts/15/AppInv.aspx
Tips - App permission XML could be easily generated by SharePoint Add-in project AppManifest as below.
Comments
Post a Comment