AnsweredAssumed Answered

Arcgis-js-api Identity Manager with Angular missing uri

Question asked by on Jul 9, 2018
Latest reply on Jul 9, 2018 by


I am following the repo here and trying to use the Identity Manager from ArcGIS-js-api.  Am I missing something?  From the samples this should work.
I receive a not found error with that url, but the server responds when I make a request via Postman
HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier). GET -
ngOnInit() {
.then(([OAuthInfo, IdentityManager]) => {

const identityManager = new IdentityManager();

const oAuthInfo = identityManager.findOAuthInfo(portalUrl);

console.log('This is the Oauth Info: ' + oAuthInfo.toJson);