简体   繁体   中英

Do oauth2 flow enpoint also perform the health check of google action?

I have followed the requirements of Health Checks to return 200 code in my webhook endpiont, but it still shows unhealthy.

Does my OAuth2 endpoint also need to be implemented? If so, how? Since doing so would break the OAuth2 standard.

My service uses Google Actions Builder.

No, you don't need to do anything special on your OAuth endpoint. (It has to work, of course, but it isn't tested by the health checker.)

There are many reasons why your webhook may be judged as "unhealthy", even if you think you're handling it correctly. The most likely, of course, is that you're not - you may be throwing an error when you don't think you are. If you are not handling the health check specifically, you may also be using features that the health checker does not "support" (for example, sending back a Media response).

Checking logs, both for your webhook and in Cloudwatch for the Assistant, may help you narrow your problem down. If you update your question, we may be able to provide additional guidance.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM