specklesystems/speckle-powerbi-visuals

Figure out authentication strategy for visual

Closed this issue · 4 comments

From #10 and #11

Viewer cannot fetch data from private streams due to it lacking access to the Data Connector token.

Not sure if this is something that can be provided, or if we're going to have to re-invent the wheel on this one.

Possible options:

  • Have the Data Connector pass the token to the Visual (not sure if it is doable)
  • Have the visual receive the actual objects from the data connector instead of fetching them

Passing the data to the token is not a viable alternative. I've had chat with Alex about option 2, which is not going to be immediately doable.

After fixing #30 we can enable the viewer to do OAuth on it's own.

Just let Vue handle the entire auth logic as we've done in plenty other apps. We already have a powerbi app so there is no server-side blocker for this, unless we want to have a separate app for metrics purposes.

This is now unblocked :D

Closing this ticket as we are moving to Jira to reduce noise. You can access it there.