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...
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...
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...
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) {
...
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...
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...
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:...
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....
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...
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...
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...
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...