Overview
Casdoor allows for the use of other OAuth applications as a sign-in method.
Currently, Casdoor supports multiple OAuth application providers. The icons of these providers will be displayed on the login and signup pages once they have been added to Casdoor. The following are the providers that Casdoor supports:
Provider | Logo | Provider | Logo | Provider | Logo | Provider | Logo |
---|---|---|---|---|---|---|---|
ADFS | Alipay | Amazon | Apple | ||||
Auth0 | Azure AD | Azure AD B2C | Baidu | ||||
Bilibili | Bitbucket | Box | Casdoor | ||||
Cloud Foundry | Dailymotion | Deezer | DigitalOcean | ||||
DingTalk | Discord | Tiktok | Dropbox | ||||
Eve Online | Fitbit | Gitea | |||||
Gitee | GitHub | GitLab | |||||
Heroku | InfluxCloud | Infoflow | |||||
Intercom | Kakao | Lark | Lastfm | ||||
Line | Mailru | Meetup | |||||
Microsoft | Naver | Nextcloud | Okta | ||||
OneDrive | Oura | Patreon | PayPal | ||||
Salesforce | Shopify | Slack | |||||
SoundCloud | Spotify | Steam | Strava | ||||
Stripe | TikTok | Tumblr | Twitch | ||||
Typetalk | Uber | VK | |||||
WeCom | WePay | ||||||
Xero | Yahoo | Yammer | Yandex | ||||
Zoom | SMS | Battle.net |
We will show you how to apply for a third-party service and add it to Casdoor.
Apply to become a developer
Before this, there are some general concepts you need to understand.
- RedirectUrl, Redirect address after authentication, fill in your application address, such as
https://forum.casbin.com/
- Scope, Permission granted to you by the user, such as basic profile, Email address and posts and others.
- ClientId/AppId, ClientKey/AppSecret, This is the most important information, and it is what you need to get after you apply for a developer account. You can not share the key/secret with anyone.
Add an OAuth provider
- Go to your Casdoor index page.
- Click on
Providers
in the top bar. - Click on
Add
, and you will see a new provider added to the list at the top. - Click on the new provider to make changes to it.
- In the
Category
section, selectOAuth
. - Choose the specific OAuth provider that you require from the
Type
dropdown. - Fill in the necessary information, such as
Client ID
andClient Secret
.
Application Setup
- Click on
Application
in the top bar and select the desired application to edit. - Click on the provider add button and choose the newly added provider.
- Modify the provider's permissions, such as enabling registration, login, and unbinding.
- You're all set!