Gitee
To set up the Gitee OAuth provider, please go to the Gitee developer website. If you haven't created applications before, the Gitee workbench will look like this:
You can then create your Gitee app.
Enter the name, description, homepage, and callback URL, and carefully choose the permissions.
In the Gitee OAuth config, the authorization callback URL
must be your Casdoor's callback URL, and the Redirect URL
in Casdoor should be your application's callback URL.
For more details, please read the App config guide.
After creating the Gitee app, you can obtain the Client ID
and Client Secrets
!
Add a Gitee OAuth provider and enter the Client ID
and Client Secrets
in your Casdoor.
Now you can use Gitee as a third-party service to complete authentication!
Since Casdoor needs to obtain the user's email, the email option must be checked; otherwise, it will cause scope authorization errors.