https://new.oaifree.com
目前镜像站完成度无限接近 100%,具体看这里:
如何反代
- Cloudflare Worker
export default {
async fetch(request, env) {
const url = new URL(request.url);
url.host = 'new.oaifree.com';
return fetch(new Request(url, request))
}
}
- Nginx
location / {
proxy_pass https://new.oaifree.com;
proxy_ssl_server_name on;
}
登录方式
- 页面输入
Access Token或Share Token登录。 - 通过
https://yourdomain/auth/login_share?token=fk-xxx使用Share Token快捷登录。 - 使用
https://yourdomain/api/auth/oauth_token接口创建OAuth Token登录。此种方式类似于Share Token快捷登录,但是不会泄露Share Token,便于集成。登录链接也只能使用一次,3分钟有效。接口使用方法如下:
curl 'https://yourdomain/api/auth/oauth_token' \
-H 'Origin: https://yourdomain' \
-H 'Content-Type: application/json' \
-d '{
"share_token": "fk-xxx"
}'
会返回JSON:
{
"login_url": "https://yourdomain/auth/login_oauth?token=xxx",
"oauth_token": "xxx"
}
访问 login_url 即可直接登录。