Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time Series Data not visualized during step004 #4

Open
GlennColpaert opened this issue Feb 11, 2020 · 0 comments · May be fixed by #5
Open

Time Series Data not visualized during step004 #4

GlennColpaert opened this issue Feb 11, 2020 · 0 comments · May be fixed by #5

Comments

@GlennColpaert
Copy link

Description
When finalizing the map visualization and running the test application no data is being displayed. The reason for this is that the current implementation is unable to find the correct Time Series instance.
This is probably related due to the fact that in the current implementation no specific AAD is specified.

404 Resource Not Found

Fix

Change the following implementation inside webapp/auth.js

authContext = new AuthenticationContext(authContextProperties);

to

authContext = new AuthenticationContext({
        authContextProperties, 
        cacheLocation: 'localStorage',
        tenant: '<your tenant ID>',
        clientId: '120d688d-1518-4cf7-bd38-182f158850b6'
    });

This implementation adds the specific tenantID and the clientID to the AuthenticationContext.
After this implementation make sure to a proper logout and log in as I noticed that in some cases the AuthenticationContext is cached, might be browser-related!

@GlennColpaert GlennColpaert linked a pull request Feb 11, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant