office365 - Using ADAL JS Lib in JS App -
i need use adal js lib office 365 add-in. went through github page here. saw example given in form of angular js app. there example can used in plain js app. office add-in created napa dev tools generates basic skeleton , building app on top of it. think angular js better option build outlook office add-in?
i plan use outlook 365 rest apis in app, before doing need authentication module working. need token can pass on endpoint in order execute rest apis.
please correct me if approach seems in wrong direction , let me know if more information needed. thanks!
adal js built spas in mind, why made angular module. have 2 options here, depending on how comfortable angular are.
- build out add-in angular app. you'll able use adal js it's documented here.
- don't use angular , don't use adal js. it's oauth underneath, can use whatever you'd handle that. can see example on how request access token azure without angular here.
good luck!
Comments
Post a Comment