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

Refresh Token to keep Reports live #41

Open
BusinessDynamics opened this issue Oct 10, 2024 · 5 comments
Open

Refresh Token to keep Reports live #41

BusinessDynamics opened this issue Oct 10, 2024 · 5 comments

Comments

@BusinessDynamics
Copy link

Hi, very nice plugin you have made. I have tested it with a few reports. However I do keep authorization issues. First I have been looking in the data connections, but those seem fine now. Supposedly there is something about a refresh token that needs to be activated to keep reports alive. Have you used that somewhere?

Best,
Geert

@BusinessDynamics
Copy link
Author

My bad for getting confused too soon. After looking into the code I realize that the API actually gets an acces_token and refresh_token. Microsoft is not making it easier nowadays with all the movements to Fabric. I have to figure out if and what makes the trigger go and if something in Wordpress is preventing it. Or the Azure app.

@portugalmo
Copy link
Collaborator

Hi Geert,

Thanks for the feedback. Are you able to see the reports at first but then get a timeout error after it's been open for a while? Do you know how long it takes roughly to get the refresh error?

Thanks,
Mohit

@BusinessDynamics
Copy link
Author

BusinessDynamics commented Oct 24, 2024 via email

@BusinessDynamics
Copy link
Author

Hi Mohit,

I am not sure what changed to be honest. But it looks like my reports are still online.
See this example on Monthly Trend Report on Asylum Influx in Germany

Would it be an option to make a feature in the plugin to easier post reports with multiple pages such as I have here? For example a Power BI block with the same features as the Power BI post type? Or are you still using it yourself? I think this will be a growing thing in the future now Msft is promiting to embed.

@portugalmo
Copy link
Collaborator

Hi Geert,

We do continue to use the plugin and are able to show multi-page reports with the current setup! See here for an example: https://atlaspolicy.com/evaluateny/

We basically put a page navigator element on top of each page and that allows the user to toggle between pages. Let me know if that works for your needs!

Thanks,
Mohit

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

No branches or pull requests

2 participants