How To Register App With Facebook For Oauth Authentication
This browser is no longer supported.
Upgrade to Microsoft Border to have advantage of the latest features, security updates, and technical support.
Configure the Facebook provider for portals
As explained in Configure an OAuth 2.0 provider for portals, Facebook is one of several identity providers that use the OAuth 2.0 protocol. To go started with configuring Facebook as the identity provider, select Configure from the provider settings folio.
Step 1. Create a Facebook app
To use Facebook as an identity provider, you need to create an app in Facebook with a redirect URL. For detailed steps near creating an app in Facebook, refer to Facebook for Developers: Create an app.
Note
The Reply URL is used by the Facebook app to redirect users to the portal after the authentication succeeds. If your portal uses a custom domain proper name, you might accept a different URL than the one provided here.
To create an app in Facebook
- Open Facebook Developers App Dashboard.
- Select Create App.
- For the Select an app type, select Consumer, so select Continue.
- Enter an App Brandish Proper noun, and a valid App Contact Email.
- Select Create App. This footstep may require you to accept Facebook platform policies and consummate an online security check.
- While on the dashboard for the new app, go to Settings > Basic tab and add the post-obit details:
- App Domains (optional). For case,
contoso.powerappsportals.com. - Privacy Policy URL: URL for your privacy policy, must exist accessible anonymously; following the Facebook policy.
- User Information Deletion: Use callback URL, or the instructions URL for user data deletion following the Facebook policy.
- Appropriate App Purpose.
- Select Add Platform, and then select Website with Site URL:
https://contoso.powerappsportals.com/orhttps://contoso.powerappsportals.com/signin-facebook
- App Domains (optional). For case,
- Select Save Changes.
- Select Add Products from the left-pane.
- Select Set Up for Facebook Login.
- Select Web, and the URL for the platform entered earlier is shown.
- Select Save.
- Select Settings under Facebook Login.
- In Valid OAuth redirect URIs, enter portal URL in this format:
https://contoso.powerappsportals.com/signin-facebook - Select Save Changes at the bottom of the page.
- Select Settings on the left-pane.
- Select Get Advanced Access in the notification that states "Your app has Standard Access to public_profile. To use Facebook Login, switch public_profile to Advanced Access.". You tin can also select App Review from the left-pane, and and then select Permissions and Features instead.
- Select Get Advanced Admission for public_profile.
- Confirm the change. This step may require you to accept Facebook platform policies and complete an online security bank check.
- At the elevation-center of the screen, for the App Manner, select Live. You'll be asked to practise a checkup, so select Outset checkup.
- Review and ostend the data use certification, certify the compliance policies, and and so select Submit.
- Later on verifying the information use checkup, at the pinnacle-center of the screen, for the App Mode, select Live.
- Select Settings > Basic, and notation the App ID and App Clandestine that will be used in the next step to configure Power Apps portals.
Stride ii. Configure site settings
Subsequently you've created the app in Facebook, configure the site settings for the provider:
- Client ID: A unique app ID generated past Facebook for your app (App ID in Facebook for Developers).
- Client Hugger-mugger: The app hush-hush for your Facebook app (App Hush-hush in Facebook for Developers).
(Optional) Pace 3. Additional settings
To configure Additional settings for the Facebook provider, see Configure boosted settings for OAuth 2.0 providers.
Feedback
Submit and view feedback for
How To Register App With Facebook For Oauth Authentication,
Source: https://docs.microsoft.com/en-us/power-apps/maker/portals/configure/configure-oauth2-facebook
Posted by: joneswaseltory1969.blogspot.com

0 Response to "How To Register App With Facebook For Oauth Authentication"
Post a Comment