Google Cloud endpoints with google Identity tool kit

孤人 提交于 2019-12-06 04:22:41

You are correct that you cannot use the endpoints.get_current_user() method to validate an Identity Toolkit user.

To use Identity Toolkit with Cloud Endpoints, you should use the built in sessions to represent the user.

After Identity Toolkit authentication is complete at the client, you should send the ID token to a "login" endpoint, validate the token, then create a new session that you include on subsequent requests.

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