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

fix(powerbi): add access token refresh #9405

Merged
merged 8 commits into from
Dec 14, 2023

Conversation

anshbansal
Copy link
Collaborator

@anshbansal anshbansal commented Dec 7, 2023

Re-creating this PR #8680 to add token expiry fix

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@github-actions github-actions bot added the ingestion PR or Issue related to the ingestion of metadata label Dec 7, 2023
@anshbansal anshbansal changed the title fix(powerbi): fix access token expiry fix(powerbi): add access token refresh Dec 7, 2023
@hsheth2 hsheth2 added the merge-pending-ci A PR that has passed review and should be merged once CI is green. label Dec 8, 2023
elish7lapid and others added 7 commits December 8, 2023 11:25
Powerbi returns an expiry time for the access
token which is currently ignored.
This causes all api calls to fail after 60 minutes,
which is the timeout returned by PowerBI.
This commit fixes the bug by creating a new token
once the old one expires.
@anshbansal anshbansal merged commit b0de1dc into master Dec 14, 2023
53 checks passed
@anshbansal anshbansal deleted the powerbi/fix-credentials-timeout branch December 14, 2023 13:11
Salman-Apptware pushed a commit to Salman-Apptware/datahub that referenced this pull request Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ingestion PR or Issue related to the ingestion of metadata merge-pending-ci A PR that has passed review and should be merged once CI is green.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants