Trying to login to our company portal in ArcGIS Enterprise using (JavaScript 4.23), but the login takes me to ArcGIS Online. I provide the url in my JavaScript, but this still happens. Can you advise please. Thank you.
var info = new OAuthInfo({
appId:'oXxSEcZ4TXxuIl62',
popup: false,
});
IdentityManager.registerOAuthInfos([info]);