How can I programatically reset the sign in cookies for a user in G Suite?

流过昼夜 提交于 2019-12-11 05:31:38

问题


It's possible to do it manually in the user management UI but I can't find anything in the user management API to do it programatically.

https://developers.google.com/admin-sdk/directory/v1/reference/users


回答1:


I found a workaround. You can suspend a user and then immediately restore their account. This has the side effect of invalidating their cookies.



来源:https://stackoverflow.com/questions/44832631/how-can-i-programatically-reset-the-sign-in-cookies-for-a-user-in-g-suite

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!