Closed heimanba closed 1 year ago
serverless-cd现状
设计图
参考1 https://tailwindui.com/components/application-ui/forms/sign-in-forms
参考2 https://identity.netlify.com/
<Auth title={} value={ // 传统登录 credentialProvider={ credentials: { username: {label: "username", type: "username"}, email: {label: "Email", type: "email"}, password: {label: "Password", type: "password"} }, // 登录 async signIn(credentials, req) { return result; }, // 注册 async signUp(credentials, req) { // 校验 return result; }, }, githubProvider: { url: 'https://github.com/login/oauth/authorize?client_id=86059a1b2bb20d3e5fc3&scope=repo,repo:status,delete_repo' }, giteeProvider: { url: 'https://github.com/login/oauth/authorize?client_id=86059a1b2bb20d3e5fc3&scope=repo,repo:status,delete_repo' } } onChange=() => {} > </Auth>
点击一个URL
地址: https://github.com/serverless-cd/ui/tree/main/packages/auth-ui
done
UI页面
serverless-cd现状
设计图
参考1 https://tailwindui.com/components/application-ui/forms/sign-in-forms
参考2 https://identity.netlify.com/
接口设计(初稿)
技术推荐