onedrive-vercel-index icon indicating copy to clipboard operation
onedrive-vercel-index copied to clipboard

client secret过期,自建后报错消失

Open LongStudy opened this issue 1 year ago • 6 comments

今天打开网站变404了,好像是client secret过期了

LongStudy avatar Jun 23 '23 03:06 LongStudy

Yes, the default client expired. I guess we'll have to use our own for now :crying_cat_face:

sudoalx avatar Jun 23 '23 05:06 sudoalx

草了好像还真的是所有者的 client secret 过期了 本项目的第一次 commit 03c05b4 是在 2021/06/22 微软允许的最长时间刚好是两年 😂😂

wdw1007 avatar Jun 23 '23 07:06 wdw1007

使用自己的重新部署,需要把Redis数据库重置,最简单的方法是删掉原来的Redis数据库再重建一个进行关联。

iRedScarf avatar Jun 23 '23 07:06 iRedScarf

使用upstash部署的直接删了token以后换自己的client id和secret即可

LongStudy avatar Jun 23 '23 07:06 LongStudy

To use your own redeployment, you need to reset the Redis database. The easiest way is to delete the original Redis database and rebuild it for association.

Alternatively you can go to the setup route and the token will be overwritten in step 3 Route for oauth setup:

/onedrive-vercel-index-oauth/step-1/

sudoalx avatar Jun 23 '23 12:06 sudoalx

Yes, the default client expired. I guess we'll have to use our own for now 😿

How do I access and use that?

crushedoreos avatar Jun 24 '23 06:06 crushedoreos