Closed BKB503 closed 5 years ago
This library is still using 1.0.15 version of adal angular. That's why for now there is no options to increase the timeout by setting loadFrameTimeout in configuration. Default LOADFRAME_TIMEOUT: '6000'. This issue can be resolve if this library will upgrade to 1.0.17 version of adal angular.
Thanks for your reply Rahul. But it is not taking that long to make second request it was less than 6000 seconds and any idea when will be next release carried out? any work around mean while?
Hi, Let me first clarify that Default LOADFRAME_TIMEOUT: '6000' is in ms not in second. https://github.com/AzureAD/azure-activedirectory-library-for-js/wiki/Config-authentication-context
For solving this issue I would suggest Please use another library.
Thanks Rahul I mean to say it 6 seconds or 6000 ms. I can understand that
I have tried other package even that is using adal library 1.0.15
can we use MSAL library ?
v4.x of this library now support adal.js 1.0.17+
@geerzo
So do i set loadFrameTimeout
in my config object like so:
const config = {
instance: 'https://login.microsoftonline.com/',
tenant: 'foobar.onmicrosoft.com',
clientId: qa_group_id,
loadFrameTimeout: 10000,
endpoints
};
adalService.init(config);
Hmmm, good question. I updated the library to 1.0.17 but we didn't add the additional config options. Can you do a pull request? Otherwise I'll try to get to it as I can.
Yeah i'll try and get that up this week. will be my first open source contribution 💪
I'm using acquire token functionality to get access token and get data from web api end point, but sending the request for 1st time acquire token is getting null and after second request it is getting the acquire token and works fine.
is there any work around for this or is this the bug ?