New version update: No extra deployment setup is required anymore! #215
Replies: 9 comments 43 replies
-
你好,请问混淆 secret 是啥意思,应该如何填写? |
Beta Was this translation helpful? Give feedback.
-
已经迁移成功。关于 upstash 的 |
Beta Was this translation helpful? Give feedback.
-
这个自动生产是自己的client ID吗?需要换成自己的client ID吗? |
Beta Was this translation helpful? Give feedback.
-
用的教育版 OneDrive,没有添加未授权应用的权限,只能自己手动添加 Client Id 和 Secret 🌝 |
Beta Was this translation helpful? Give feedback.
-
Hello, the third step does not need to change the API, when I click Store tokens, the homepage has been 404 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Is there a way to use it with multiple OneDrive accounts? |
Beta Was this translation helpful? Give feedback.
-
Finally, I managed to land this before 2022. Happy new year! 🥳
TL;DR
For this update, you don't have to create your own client id, client secret, access token, refresh token what-so-ever. The OAuth process is built directly into the project. Tokens are stored with Redis, and refreshed regularly. No more environment variable over the limit issues!
Thought process and migration guides
The catch: you need a Redis connection. A url is sufficient, which you would be storing inside Vercel environment variable as
REDIS_URL
. You can create one completely for free at https://upstash.com/As this upgrade brings a persistent storage into the serverless environment, we can further extract configurations and other settings to this storage, instead of config files - even more simplified deployment process, and even - setting UI or admin panels. Something for me to do in 2022 :)
Migration documentations are available at: Migrating from an old project
Auth process screenshots
Beta Was this translation helpful? Give feedback.
All reactions