Hey guys,
I've been on here awhile lately so just wanted to thank everyone for their help.
I am nearly at the end of finishing my concept and as it is apart of an organisation we are using 365 as an authenticator. I have used the Token Auth sample to login to the app that uses a webmap. It logs in without an issue but after 60mins it seems to timeout and gives me an error from the Arcgis rest service (403) which hosts some of the layers I am using.
Has anyone seen this issue before? Below is my Portal code... I have been playing around with the refreshtoken properties but had little to no change.
id: portal
url: "Hidden from forum"
credential: Credential {
oAuthClientInfo: OAuthClientInfo {
oAuthMode: Enums.OAuthModeUser
clientId: "Hidden from forum"
clientSecret:"Hidden from forum"
redirectUri: "Hidden from forum"
refreshTokenExchangeInterval: 55
refreshTokenExpirationInterval: -1
}
}
Component.onCompleted: {load();
}
}
Ive also used my webmap on fieldmaps to see if it would throw the same error but it continues to work with no issue.
I'm a novice to all of this so any help or guidance would be appreciated.
Thanks in advance.
Eric