/Microsoft-E5-Auto-Renewal

An open-source JavaScript web server for the automatic renewal of Microsoft’s Developer E5 subscription accounts.

Primary LanguageHTML

Microsoft E5 Auto Renewal

An open-source JavaScript web server for the automatic renewal of Microsoft’s Developer E5 subscription accounts.

📑 INDEX

❓ How to use?

By following the steps given below, you can use the public instance without deploying your own server or requiring any setup.

  • Acquire your client ID and secret as given here.

    • Redirect URL should be:

      https://e5-js.adasin.workers.dev/auth
      
  • Click here, fill in your authorization client details that you collected above, and follow the on-screen instructions.

    • Your client ID and secret will be securely stored in your browser in an encrypted form to complete the authorization process. Once you close your browser, they will be erased.

  • Now create a cron-job here or on platform of your choice with the details displayed by the website.

    • Interval can be from 1 hour to 8 hours.

Tip

  • To increase the chances of getting your subscription renewed, configure the tool for your subscription’s admin accounts first, and then for non-admin accounts.
  • All refresh tokens issued by the website have a validity period of 90 days from the date of issue. You can acquire a new refresh token by logging in using the same URL (bookmark it!).
  • You did it!🎉

🛠️ Deployment

1.Install Git, Node.JS and NPM.

2.Clone repository:

git clone https://github.com/lawdakacoder/Microsoft-E5-Auto-Renewal.git

3.Change Directory:

cd Microsoft-E5-Auto-Renewal

4.Fill config.js file.

5.Using Wrangler

  • Install wrangler

    npm install wrangler
    
  • Login in Wrangler

    npx wrangler login
    
  • Deploy to Cloudflare worker

    npx wrangler deploy
    

❤️ Credits

Dr.Caduceus: Developer of original repository (Python).
LawdaKaCoder: Developer of Microsoft-E5-Auto-Renewal (JavaScript) and for lawda.
Cloudflare: For workers and great documentation that no one can understand.