ערוך

שתף באמצעות


Set up an OAuth 2.0 provider

To allow users to authenticate on your Power Pages site with their Microsoft, LinkedIn, Facebook, Google, or Twitter account, add an OAuth 2.0 identity provider. Power Pages doesn't support the use of other OAuth providers. Use OpenID Connect instead.

OAuth 2.0–based external identity providers require that you register an application with a third-party service to get a client ID and client secret pair. You may also need to specify a redirect or reply URL to allow the identity provider to send users back to your website, called the replying party, after it authenticates them. The client ID and client secret establish a secure connection between the replying party and the identity provider. These values are site settings that are based on the properties of the MicrosoftAccountAuthenticationOptions, TwitterAuthenticationOptions, FacebookAuthenticationOptions, and GoogleOAuth2AuthenticationOptions classes.

Provider settings

For the settings you need to change for specific OAuth 2.0 providers, select the name of the provider:

Then if needed, change optional additional settings that apply to all OAuth 2.0 providers.

Note

Changes to your site's authentication settings might take a few minutes to be reflected on the site. To see the changes immediately, restart the site in the admin center.