Forum Discussion
Ameb
8 years agoHelper I
Display report using powerbi-client and react (typescript)
Hello. I have been working on a .NET Core application with React. Server side works fine (tokens generated work on the powerbi javascript demo) Tokens from PowerBI Javascript Demo doesnt w...
- 8 years ago
The property tokenType was missing from the config.
Ameb
8 years agoHelper I
The property tokenType was missing from the config.
- amoldhaygude8 years agoNew Member
Hello Ameb,
Do you mind sharing working source code or project files?
- Ameb8 years agoHelper I
I am no longer working on this so can't clean the code properly or give you a detailed or simplified working code, but i uploaded what i had. Hope it helps.
https://github.com/Ameb/PBIEmbedded-NetCore-React-Demo
Most of my issues with this were the matching between the config used with the embedding API and the way the tokens were generated (since you can actually use an AD bearer token for embedding).