TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Is AWS Wrong?

4 pointsby brentmitchell25almost 3 years ago
I work at a large enterprise and have been challenging our architects on AWS Cognito JWT implementations. The OAuth implementation indicates to never use the ID token when sending to the resource server (https:&#x2F;&#x2F;oauth.net&#x2F;2&#x2F;access-tokens&#x2F;). I have found this same recommendation through other providers as well such as Microsoft, Okta, and Auth0. However, the AWS Cognito team seems to clearly indicate it&#x27;s ok to use the ID token (https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;cognito&#x2F;latest&#x2F;developerguide&#x2F;amazon-cognito-user-pools-using-the-id-token.html), &quot;The ID token can also be used to authenticate users to your resource servers or server applications.&quot;<p>Our architects are adamant that AWS is the sole authority here, but I want to understand why AWS seems to recommend using the ID token when I can&#x27;t find recommendations anywhere else.

2 comments

brodouevencodealmost 3 years ago
By offloading the service to AWS, they have the responsibility and liability of taking that on. That doesn&#x27;t get you completely off the hook however - you still have a brand to protect. It would be worth your time to reach out to your AWS TAM to find out the justifications about this. They are pleasantly forward with a lot of their decisions in my experience.
pagsalmost 3 years ago
Cognito supports OAuth integration, but itself isn&#x27;t an implementation of OAuth.