Questions tagged [amplify-auth-cognito]
13 questions
2
votes
0 answers
Login with different user using amplify_auth_cognito for flutter
When using
await Amplify.Auth.signInWithWebUI(provider: AuthProvider.google);
to sign in and
await Amplify.Auth.signOut();
to sign out,
If I sign in, the very first time I am prompted to select a google account.
Then if I sign out, every time I…

Jay
- 3,373
- 6
- 38
- 55
1
vote
0 answers
AWS Amplify python backend auth with frontend auto
Since withAuthenticator helps handling the frontend portion of authentication, I wonder if there are still needs to add extra wrappers to python backend? The Lambda functions for the backend does not have public access. Also, there is no plan to…

jbl
- 21
- 2
1
vote
0 answers
Amplify Storage Exception: Failed to fetch identity ID in Android
I have followed the docs and imported the S3 bucket successfully in Android Project, but I'm not able to upload or download from the bucket. I even removed the storage and auth using amplify cli, added new storage with auth and guest having all the…

VinodS
- 11
- 1
1
vote
1 answer
Issue with cognito social login for Apple
I have a website with social login (apple , google , facebook), the social logins are configured in cogntio user pool.
for the website to work it needs name and email from the providers to create account.
google and facebook works fine but for apple…

Sankalp Chari
- 71
- 1
- 6
1
vote
0 answers
How to use Auth api from AWS amplify without refreshing and redirecting application to different URL?
export default function Home() {
const [user, setUser] = useState("");
useEffect(() => {
Auth.currentAuthenticatedUser().then((user) => {
setUser(user.username);
});
Hub.listen("auth", (data) => {
switch…

Vitor Figueredo Marques
- 159
- 8
0
votes
0 answers
Does the amplify_auth_cognito package support web platform while working in flutter?
I am working on a flutter project that works fine on ios and android but while running in web platform I get the below error:
errors.dart:266 Uncaught (in promise) Error: Unsupported operation:
This platform is not supported yet
at Object.throw_…

Dholu
- 658
- 7
- 14
0
votes
0 answers
Why is Access Token null?
I am using Amplify Auth to sign in a user in my Java android application.
After a couple of times of starting the android emulator, Amplify Auth signs out the user. Upon trying to login again, the user is faced with the error…

k1r4n
- 69
- 2
- 12
0
votes
0 answers
AmplifyException (You are currently signed out) after success Social Sign In
I use amplify for social login in my app. Gradle:
implementation "com.amplifyframework:core:$amplify_version"
implementation "com.amplifyframework:aws-auth-cognito:$amplify_version"
amplify_version = '2.8.5'
In my Application…

Christina
- 55
- 5
0
votes
0 answers
Aws Amplify Listen to Auth State changes
Is there a similar function for aws-amplify as the authStateChanges from firebase?
I only did find the Auth-Events but this is
a StreamSubscription
it does not return a AuthUser object back

Georgios
- 861
- 2
- 12
- 30
0
votes
1 answer
Amplify Cognito Admin Query listUsersInGroup not working
I am working with AWS Amplify, specifically with Auth; I am trying to get the listUsersInGroup from Cognito pool using the next function in React:
import { Auth, API } from 'aws-amplify';
const listUsersInGroup = async (group) => {
let apiName…

cagf
- 1
- 1
0
votes
1 answer
StreamBuilder for Amplify Auth State on flutter?
Trying to update BottomNavigationBarItems based on user successful signUp/signIn.
Not an expert in flutter or AWS, but have tried using either of the following to update a bool flag to render _listA or…

kenta_desu
- 303
- 1
- 9
0
votes
2 answers
AWS AmplifyAUTH: flutter: [ERROR]: CreateAuthChallenge failed with error SyntaxError: await is only valid in async function
Getting the captioned error message onTap signUpButton() within AuthenticatorForm(). Seems like a very idiomatic error message, but can't seem to find what's wrong.
Here is my createAuthChallenge.js
const AWS = require('aws-sdk');
const…

kenta_desu
- 303
- 1
- 9
0
votes
0 answers
Amplify flutter authenticator UI stuck in loading after error on SignUp
When my SignUp process receives an error from my PreSignUp lambda the Amplify Authenticator UI is always stuck in the loading state and I can't do anything about it, solved only by manually removing query parameters and reloading the page. More…

Lucas Soares
- 343
- 1
- 11