Giter Club home page Giter Club logo

office-user-auto-create's Introduction

🐈 office-user-auto-create

forthebadge

cloudflare worker 自助创建 office 账号

后端 | 前端

🚚 部署

Deploy to Cloudflare Workers

  1. 按照提示在 GitHub 上授权 Worker

  2. 输入 Cloudflare 的账号 ID 和 Token 并连接账号

    • Token 需要给予 Edit Workers 权限
  3. Fork 项目并启用 GitHub Actions

  4. 回到 Cloudflare Worker 开始部署项目

  5. 部署成功后新建一个 KV 和环境变量 _KV 绑定

  6. 配置环境变量

    • _ANNOUNCEMENT: 公告内容,去掉变量则不显示公告
    • _GET_CODE_LINK: 获取激活码的连接,可以不填
    • _AAD_CONFIG: Azure Active DirectoryAPP 凭证配置
    • _OFFICE_DOMAINS: Office 下的域名
    • _OFFICE_SUBSCRIPTIONS: Office 的的订阅配置
    • _USERNAME_BLACKLIST: 用户名黑名单
    • _GENERATE_CODES_PATH_SECRET: 生成激活码的路径,建议生成一个随机密码,生成激活码时浏览器访问 https://<前缀>.workers.dev/<随机密码>/<数量>

office-user-auto-create's People

Contributors

realbyg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.