- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
Amplify Auth might help, you can configure so the auth information stored in the cookie. Amplify Auth handle some tasks for you, you see redirect link with response code, then somehow Amplify Auth exchange the code for auth information, and store it into cookie if you setup
-
Amplify and Cognito Hosted UI https://docs.amplify.aws/lib/auth/social/q/platform/js/
-
Amplify Auth Client Configuration https://docs.amplify.aws/lib/client-configuration/configuring-amplify-categories/q/platform/js/#top-level-configuration
There's a community create library called Amazon Cognito Identity SDK for JavaScript, did you tried using that?
Just be aware that store JWT directly in the browser is not secure, you will need yo use a cookie with a HttpOnly only flag.
I know your answer is concerning the Cognito Hosted UI, but you tried to see if your web application could leverage AWS Amplify Auth? It uses Cognito and has a lot of helpers built-in and if you are using a specific framework simple ways to customize your own UI.
Contenuto pertinente
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 2 anni fa
- Come faccio a configurare AD FS come provider di identità SAML con un pool di utenti Amazon Cognito?AWS UFFICIALEAggiornata 3 anni fa
Thank you Ibrahim. I will have a look at AWS Amplify. Appreciated.