为什么 Cognito 不再是 API 网关 UI 中的授权方选项

Why is Cognito no longer an Authorizer option in the API gateway UI

在 API 网关中,Cognito 以前是授权方选项。实际上,AWS 开发人员文档仍然提到了它的使用。但是,新的 UI 没有将其作为选项。我们担心切换回旧的 UI 并继续使用,如果它是一个已弃用的功能。

问:使用 Cognito 作为授权方是否仍然合适,即使在新的 UI 中不是一个选择?

cognito 选项仅在 REST API 中显示,在 HTTP API 中不显示

对于 HTTP API,您可以使用 Amazon Cognito 作为 JWT 颁发者。

https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vs-rest.html