Questions tagged with Amazon Cognito

Content language: English

Select up to 5 tags to filter
Sort by most recent

Browse through the questions and answers listed below or filter and sort to narrow down your results.

i am using the next.js pages directory structure. i am getting this sam build error after removing aws-exports from the pages directory. not just that, to debug the error, I also removed all imports...
0
answers
0
votes
206
views
shah672
asked 16 days ago
Hi, In our mobile/web application, we allow user deletions through a independent web interface. When a user is signed out and deleted from Cognito, I notice that their previously generated ID tokens...
1
answers
0
votes
236
views
vikas
asked 18 days ago
Hello. I want to add Cognito as an identity provider solution in my application. It is necessary to track when users log in and log out, so I plan to use a server-side auth solution similar to...
1
answers
0
votes
118
views
Illia
asked 18 days ago
I have a custom Cognito Lambda function that generates a random code and sends it directly to a phone number. ``` try { if (!event.request.session || !event.request.session.length) { ...
1
answers
0
votes
162
views
Julian
asked 18 days ago
In a Gen 1 v 5 project we can do ``` import { Auth } from 'aws-amplify'; ... authInfo = await Auth.currentSession(); let refreshToken = authInfo.refreshToken.token; ``` In Gen 2 v 6, we can do...
0
answers
0
votes
92
views
asked 18 days ago
Seems like adding that would make setting up resources for a new user using triggers feel safer, since you can tear them down after. One use case I have is to start generating resources while waiting...
1
answers
0
votes
99
views
Kelnor
asked 20 days ago
My Cognito User Pool is configured as follows: > SRP_AUTH > Required MFA (Authenticator app method) > > Device Tracking: User opt-in > > Trust remembered devices to suppress MFA: Yes > > APP Client:...
0
answers
0
votes
65
views
profile picture
Marcelo
asked 20 days ago
Hi everyone, I'm currently facing an issue with integrating Google Workspace with AWS Cognito. My goal is to deploy an application where only users from my Google Workspace organization can log in....
2
answers
0
votes
245
views
Tatev
asked 24 days ago
We use an app integration + hosted UI on our Cognito user pool to act as an OIDC provider to federate friendly services to login with ours. This works great except for the `/userinfo` endpoint, whose...
1
answers
0
votes
98
views
asked 24 days ago
Hi, I have a use case where I want to expose Rest API endpoint both for employees as well as to a service. #1. Employee should be able to invoke this endpoint from browser. We need to authenticate...
1
answers
0
votes
240
views
asked 24 days ago
I have enabled Cognito auth on my ALB. I log in via my dns entry `sample.my-domain.com` I'm using a SAML IDP in Cognito (Google workspace) and it takes me through he auth flow and I sign in via my...
2
answers
0
votes
161
views
Andrew
asked 25 days ago
Hello guys, I'm currently using Cognito preSignUp trigger to store users in my own database. To do so, I want to access the ID token that is generated by Google and save it in the database but I...
1
answers
0
votes
91
views
Karim
asked a month ago