Add Tencent QQ as an OAuth provider
This guide explains how to let users sign in to Casdoor with their QQ account.
Learning outcomes
- Create an application in QQ Connect.
- Add Tencent QQ as an OAuth provider in Casdoor.
What you need
- A QQ Connect developer account. See Become a developer.
- Administrator access to the Casdoor admin console
Create an application in QQ Connect
- After your developer account is approved, open QQ Connect and create an application.
- Set the authorization callback URL to the callback URL of Casdoor,
https://<your-casdoor-host>/callback. See Redirect URL and callback URL. - Copy the client ID and the client secret of the application.
Add the provider in Casdoor
- In the Casdoor admin console, go to Identity > Providers and add a provider.
- Set Category to
OAuthand Type toTencent QQ. - Enter the Client ID and the Client secret.
- Save the provider.
Next steps
Add the provider to an application. See Add providers to an application.