# Gitee Third Party Application
Vssue can also work with self-hosted Gitee Enterprise Version. Set the
baseURL
options to your Gitee URL. See Options Reference - baseURL
Gitee requires
clientSecret
because Gitee does not support implicit grant type
# Create a new Third Party Application
- Go to Settings - Third Party Application
- Click Create Application
- Set the
Homepage URL
andAuthorization callback URL
to your website URL (Here we takelocalhost:8080
for example) - Select
issues
andnotes
permissions
# Get the Client ID and Secret
Then you've created a new Third Party Application, and here is your Client ID
and Client Secret
.
# Config and start your Vssue
Copy the Client ID
and Client Secret
, and set owner
and repo
.
The URL pattern of gitee repo is
https://gitee.com/${owner}/${repo}
Here we take https://gitee.com/meteor_lxy/vssue-demo
for example, and set the title
of issue to Vssue Demo
.
Then run anywhere -h localhost 8080
to serve the index.html
on localhost:8080
.
# Try out Vssue locally
Vssue has already run here. Click Login
to login with gitee account and click to create issue
.
Redirect to Gitee Authorization page. Click Authorize
to login.
Leave a comment on this page ~
TIP
You can go to the repo meteor_lxy/vssue-demo to get the demo code. Check the first issue of that repo to see what happened.