hi, i have created a custom widget and in the initial load i need to show the arcgis portal login page. after successful login i need to redirect the page to my application. i have successfully don this in my developer version but when i am deployed this in my local server its not working. anybody have any idea?
actually the login process i have implemented in the custom widget is to get the current user's groups from portal. when i use
portal.load().then(function () {
portal.user.fetchGroups().then(function (fetchItemResult) {}
}
i can get the group info in the developer edition, but when deploy it i am not able to access it. is there any way that i can get the userinfo from protal?