AWS Cognito API Authentication flow SDKs

Arkon :

I am trying to figure out what is the authentication flow with AWS Cognito (from a golang client for instance, or python with Boto). Basically registered user gets a token from Cognito and uses it to log in to the app server.

Simple Auth Flow with Cognito

What I figured out so far:

  1. User sign in with SignUp()
  2. User Code Verification with ConfirmSignUp()
  3. How does the user get its token?
  4. How does the user provide it's token to a 3rd party server?
  5. How does the 3rd party server verify the user token ?

The official documentation is talking about Authentication Challenge but I do not see it in the Golang or Python API libraries. How can I validate steps 3, 4 and 5 please ?

Thank you very much in advance

API Doc: https://docs.aws.amazon.com/sdk-for-go/api/service/cognitoidentityprovider http://boto3.readthedocs.io/en/latest/reference/services/cognito-idp.html

Arkon :

I found what I needed here:docs.aws.amazon.com/cognito/latest/developerguide/… page 70.

There is not an actual implementation example but this is way good enough to understand the process.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Custom Authentication flow with aws amplify cognito

Integrating AWS Cognito with API for authentication

AWS API gateway authentication without using Cognito

Flow for authentication when MFA required for user in AWS Cognito

Passwordless authentication flow using Cognito & API Gateway & Lambda (Python)

Authentication with Lambda and AWS Cognito

AWS Cognito Authentication in Reactjs

AWS Cognito HTTP authentication

AWS Cognito User Authentication

AWS Cognito Correct User Flow

"Forgot username" flow for AWS Cognito?

AWS cognito forgot password flow

Finishing AWS authentication flow

Firebase authentication vs AWS Cognito

AWS Cognito authentication with Bearer token

not understanding AWS Amplify authentication flow

How To: C# .net core API (APIGateway/Lambda) + Xamarin + Facebook authentication using AWS Cognito

spring boot web app for authentication/autorization using AWS Cognito Java API

How to authenticate React website with API using AWS Cognito with OAuth2 authentication

How do AWS Cognito Authentication tokens refresh

How to ignore MFA Authentication in AWS Cognito

Object is of type unknown with AWS Cognito authentication

AWS Cognito Amplify Authentication and Angular UI Components

React Native authentication and Subscribtion with AWS Cognito UserPools

How to achieve certificate based authentication with AWS Cognito?

AWS iOS SDK Cognito Developer Authentication (Swift)

AWS Cognito for Django3 + DRF Authentication

AWS Cognito error: Authentication delegate not set

Multi-Tenant Authentication with AWS Cognito