IWA authentication using Angular JS

1239
2
Jump to solution
06-19-2019 05:43 AM
BrianLeroux
Occasional Contributor III

I have an angular js app that was built by a vendor partner and is having issues authenticating using IWA against Portal. The app previously worked fine with IWA when accessing services frm ArcGIS server 10.1. Now that we have upgraded to 10.7 and using Portal, the app doesn't get tokens as it is supposed to. Based on my reading the esri api should handle getting the token as it previously had. Am I missing something?

I have other apps that work fine but are not angular. One is just JS and one is webapp builder.

I appreciate any help.

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
BrianLeroux
Occasional Contributor III

I ended up initiating identity manager and calling the check sign in function. Once that was called single sign on worked great. 

View solution in original post

0 Kudos
2 Replies
BrianLeroux
Occasional Contributor III

I ended up initiating identity manager and calling the check sign in function. Once that was called single sign on worked great. 

0 Kudos
ND2045
by
New Contributor

Hi Brian, can you share some sample codes on how to achieve this?