Questions tagged [awscognitotoken]
14 questions
2
votes
0 answers
Why does AWS IAM support SCIM 2.0 but not AWS Cognito?
While going through the AWS Cognito documents, I was unable to find SCIM support with the supported APIs. Could you please help in understanding if SCIM protocol is not required and why? and point me to relevant direction in case it is available…

Aakanksha
- 65
- 7
1
vote
1 answer
.NET Cognito Authentication JWTBearer
SCENARIO
I am trying to provide authentication for my web application APIs with AWS-Cognito and JWTBearer.
PROBLEM
Currently, my client performs a GET call and is met with a 401 (Unauthorized) message. This prompts the client to redirect to Cognito…

KOO
- 11
- 3
1
vote
1 answer
AWS Cognito OAuth2 access the STATE or SCOPE parameter by some Lambda Trigger
When a User is accessing my API and they authenticate through Cognito is it possible to access the STATE of the OAUTH2 AUTH request somehow in one of the lambda triggers?

orestis
- 932
- 2
- 9
- 23
0
votes
1 answer
Why am I getting the response "SecretHash does not match for the client" during AWS Congito User confirmation?
I'm getting the following response during user confirmation with AWS Cognito:
{
"errorMessage": "SecretHash does not match for the client: [REDACTED] (Service: AWSCognitoIdentityProvider; Status Code: 400; Error Code: NotAuthorizedException;…

WDE
- 1
- 2
0
votes
1 answer
aws cognito oauth2 token endpoint returns invalid_request error
I am using Authorization code grant to create a new cognito user object, but got invalid_request as response. I have got code and state from redirected url but cannot get id,access and refresh tokens to create a cognito user.
I am getting code from…

irfan
- 31
- 5
0
votes
0 answers
Cognito generates response_type=code in the redirect request for OIDC login despite configuring Implicit grant type
I have configured a cognito client with hosted web UI. Although I configured it to use implicit grant type, I am seeing response type ad code (highlighted in url…

balias
- 499
- 1
- 4
- 17
0
votes
0 answers
Claims not visible after AWS Cognito Authentication
from flask import Flask, render_template, redirect, jsonify, request
from flask_awscognito import AWSCognitoAuthentication
application = Flask(__name__)
application.config['AWS_DEFAULT_REGION'] = 'eu-west-1'…

Miguel Gonzalez
- 398
- 1
- 12
0
votes
1 answer
AWS COGNITO: Stop receiving OTP for login
I am using
USER_PASSWORD_AUTH
for authFlow. Currently Im receiving OTP for login. How can I bypass OTP
Want to stop receiving OTP for login, instead get OTP during signup

vjflcr
- 1
0
votes
0 answers
How to refresh AWS Cognito access token and get updated user groups?
I have a Spring Boot web application using Spring Security, which uses OAuth2 with AWS Cognito. I'm using spring-boot-starter-oauth2-client.
Access to paid areas of the website is determined by the user's group in Cognito.
When a user makes a…

andydavies
- 3,081
- 4
- 29
- 35
0
votes
0 answers
Dual authentication using AWS Cognito User Pool with an Azure AD Identity Provider (SSO) using cypress
We are using AWS Cognito User Pool with an Azure AD Identity Provider (SSO) to login to the react app.
I need a solution to login to the app (backed by dual authentication process) using Cypress.
here is the diag. to describe the login process:
SSO…

Ambi
- 1
- 1
0
votes
1 answer
chalice-cognito-auth obtained id_token but still getting "User is not authorized"
Try to use https://pypi.org/project/chalice-cognito-auth/
I was able to get a json response like:
{"id_token":"eyJra...sda",
"refresh_token":"eyJjd...",
"access_token":"eyJraWQiO...",
"token_type":"Bearer"}
But when I try to use it like
curl -H…

Mzq
- 1,796
- 4
- 30
- 65
0
votes
1 answer
How to return the value of token in aws cognito using node js? I want to use the value of token in another file, so how can I do that?
** Here is the code for cognito-user and I have to use the token value in another file, so how can I use, how can I export token value?**
const {
AuthenticationDetails,
CognitoUser,
CognitoUserPool
} =…

1111
- 1
- 1
0
votes
1 answer
Amazon Cognito and LinkedIn Learning xAPI - scope issue
I am trying to get oauth authorization for LinkedIn Learning xAPI webhooks.
According to their docs, they will send an authorization request and require an access token to be sent back.
Basically they are going to hit an endpoint with the following…

user4889134
- 111
- 2
- 16
0
votes
1 answer
Get Cognito token using Insomnia with awscognitotoken plugin
I look for the Authorization token used by Cognito in order to put it in the header of my tests. I need to test some backend API.
I am using Insomnia and the awscognitotoken plugin. However, I fail to configure it in order to get the token. Their…

Costin
- 2,699
- 5
- 25
- 43