Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
KoustavPurkiat
Frequent Visitor

Connecting to LoopBack API using Access Token

I am trying to connect with LoopBack API. I am able to connect while putting the URL and appending the Access Token with the URL. But this Access Token will expires in every 14 days and generates a new access token. My Question is how my power bi report will able to update the access token automatically? 

 

 

6 REPLIES 6
v-jiascu-msft
Employee
Employee

Hi @KoustavPurkiat,

 

How does the Loopback API generate an access token? Are there any other authentication methods? 

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Dale,

 

What I have understood that 'Access Token' is getting generated from REST API wher eauthentication is given only bearer Token. 

Hi @KoustavPurkiat,

 

Firstly, are we talking about this loopback API?

Secondly, the "Access Token" should be generated by the Loopback API. It could be something we can't do in Power BI. Am I right?

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Dale,

 

Exactly, this Access token is getting generated in Loopback API. Inbackend there are some code is running where authentication is given as Bearer token.

 

Thanks,

Koustav

Hi Koustav,

 

I'm afraid it's hard to make the code run in Power BI. 

1. Are there any other authentication methods?

Connecting_to_Loop_Back_API_using_Access_Token

2. If it's possible to make the token live longer?

 

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Dale,

 

1) As of now Access Token is only authentication is given. Need to check with Team if we can keep basic authentication(User ID and PSW). 

2) I dont think that we can extend the expiry date for this token.

 

Thanks,

Koustav

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.