Forum Discussion

ltuttini's avatar
ltuttini
New Member
9 years ago

Custom Autentication Provider - Access Token from a databse

Hi

 

I need integrate Power BI with a custom autentication provider connected with a application database, I don't want to use Active Directory.

 

The application define user and roles in a database and Power BI need to autenticate with it.

 

Is possible use custom provider to autenticate with a database ?

 

I can see this article

Step 2: Get an authentication access token

but the token is got from AD and I need to get it from database

 

regards

3 Replies

  • Eric_Zhang's avatar
    Eric_Zhang
    Microsoft Employee

    ltuttini wrote:

    Hi

     

    I need integrate Power BI with a custom autentication provider connected with a application database, I don't want to use Active Directory.

     

    The application define user and roles in a database and Power BI need to autenticate with it.

     

    Is possible use custom provider to autenticate with a database ?

     

    I can see this article

    Step 2: Get an authentication access token

    but the token is got from AD and I need to get it from database

     

    regards


    ltuttini

     

    The answer can be simply NO. Power BI service is Azure based and using ADD authentication. According to your description, maybe you're looking for Row Level Security.

    • ltuttini's avatar
      ltuttini
      New Member

      hi

      thanks for your answer

       

      I could see the RLS as a posible solution, but I not sure how can I define the token url where Power BI makes the request and receive the JWT

       

      I can see

      PowerBI-CSharp

      it show me how generate the token but not how configure it in the tool

       

      regards