web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Custom Certificate Cre...
Power Pages
Unanswered

Custom Certificate Creation for Auth 2.0 implicit grant flow

(1) ShareShare
ReportReport
Posted on by 2

Hello All,

 

I'm trying to set up OAuth 2.0 implicit grant flow in my Power pages site for calling external API and I'm following the below documentation - 

https://learn.microsoft.com/en-us/power-pages/security/oauth-implicit-grant-flow 

https://learn.microsoft.com/en-us/power-pages/admin/manage-custom-certificates

 

As per the documentation, a custom certificate needs to be created and uploaded to the Power page site administration. So I'm trying to generate a certificate using Let's Encrypt certbot through the following command -

 

 

certbot certonly --manual --preferred-challenges=dns -d testportal.powerappsportals.com

 

 

 

After running the above command, as my power pages site doesn't use a custom domain, I'm not able to find out where to add the DNS TXT record for completing the challenge or If I should use a different challenge for the power pages.

 

Thanks in advance for the help.

Categories:
I have the same question (0)
  • premie21 Profile Picture
    8 on at

    Did you get any solutions for this?

  • jameson1 Profile Picture
    2 on at

    I originally posted this question but I lost the credentials to the account I used for that.

     

    I ended up creating a Microsoft ticket for this and they informed me that the custom certificate needed for calling an external API doesn't need to verified by a Certificate Authority and a self signed certificate would work.

     

    The requirements mentioned in the following document applies only for the custom certificate needed for setting up a custom domain for the site and not for calling an external API.

    https://learn.microsoft.com/en-us/power-pages/admin/manage-custom-certificates

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 89 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 75

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard