用户和权限提供商
¥Users & Permissions providers
Strapi 附带一组针对 用户和权限功能 的预定义内置提供程序。本页面解释了登录流程的工作原理、如何设置服务器 URL,并列出了许多常见第三方提供商的示例。
¥Strapi comes with a predefined set of built-in providers for the Users & Permissions feature. The present page explains how the login flow works, how to set up the server URL, and list many examples for common 3rd-party providers.
如果你要创建自己的自定义提供程序,请参阅 专用指南。
¥If you're looking to create your own custom provider, please refer to the dedicated guide.
了解登录流程
¥Understanding the login flow
授予 和 最纯粹 允许你使用 OAuth 和 OAuth2 提供程序在你的应用中启用身份验证。
¥Grant and Purest allow you to use OAuth and OAuth2 providers to enable authentication in your application.
为了更好地理解,请查看以下登录流程的描述。示例使用 github 作为提供程序,但对于其他提供程序也一样。
¥For a better understanding, review the following description of the login flow. The example uses github as the provider but it works the same for other providers.