Jonathan Irwin
1 min readAug 26, 2020

--

I'm a little confused what you want to do. You shouldn't need to do any kind of mapping or storing of that code yourself. Cognito will handle that.

Once you have that code you can exchange it with Cognito for an id_token. The code that does this will be in your Angular application (the redirect_url).

Are you familiar with the OAuth flow? Using the "Hosted UI" in Cognito is a nice way to get familiar with the flow

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Jonathan Irwin
Jonathan Irwin

Written by Jonathan Irwin

I scream.. You scream.. The police come.. It’s awkward..

Responses (1)

Write a response