Gitee
To set up Gitee OAuth provider, please go to Gitee developer, if you have not created applications before, the gitee workbench would like this:
Then you can create your gitee app.
Fill in the name, description, homepage and callback URL and carefully choose the permissions.
Set authorization callback URL correctly
In Gitee OAuth config, the authorization callback URL
must be your Casdoor's callback url, and the Redirect URL
in Casdoor should be your application callback url
More details please read App config
Then you can create you gitee app and get Client ID
and Client Secrets
now!
Add a Gitee OAuth provider and fill the Client ID
and Client Secrets
in your Casdoor.
Now you can use Gitee as third party service to complete authentication!
caution
Since Casdoor needs to obtain the user's email, the email option must be checked, otherwise it will cause scope authorization errors.