Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

CustomAPI authenication to Http authenication

(0) ShareShare
ReportReport
Posted on by 227

Hi,

 

I have a customapi that can connect to my odata. PowerApps is using customapi and working well. Now, i need to use MS Flow (http) from PowerApp (only can use http). PowerApp can call customized flow. The problem is how can i pass customapi authenication to MS Flow Http authenication. Currently i did hard code on Http authenication(Basic or Bear) for development stage. I can't hard code it for production stage. My system has user action log activity if i hard code the user, user activity log are wrong. My question is how can i pass/get the credential from custom api to http authenication?
Note: I can only use Basic or Bear authenication for http authenication.

 

HTTP Authenication

Thanks

  • yukonn Profile Picture
    yukonn 227 on at
    Re: CustomAPI authenication to Http authenication
    Do you want to get the credentials from Custom APIs to HTTP authentication via PowerApps?
    Yes. But not only from PowerApps. Flow itself also. Eg. If I use my customerapi at flow, all of http credentials can be read from my can be apply from my customerapi. My.customerapi.(‘user’) like this.

    Second approach is currently I use. But that’s temporary solution. Because App is already connect customerapi and I can use customerapi from flow without re-keyin the user name and password again . But http part needs to be key in username and password. It doesn’t make sense, it should be able to read from connections. My be there has function but I can’t find it. This a reason why asking here.

    Thanks for your response.

    Regards,
  • v-yamao-msft Profile Picture
    v-yamao-msft on at
    Re: CustomAPI authenication to Http authenication

    Hi @yukonn,

     

    Do you want to get the credentials from Custom APIs to HTTP authentication via PowerApps?

    It seems that your flow is triggered by a PowerApps button.

    On PowerApps, I assume that you could add two labels for Username and Password, then use the corresponding dynamic content for each field.

    Please take a try with it.

     

    Best regards,

    Mabel

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard