-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NotAuthorizedException: Client xxxxx is configured with secret but SECRET_HASH was not received #2504
Comments
Hi @Lumentus can you do the following to help us troubleshoot your issue a little more:
|
Hi @gpanshu I added those logs to the Question. I will also put them here to make finding them easier:
amplify:aw...AuthPlugin package V Auth State Change: NotConfigured(id=)
amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuth(id=) amplify:aw...AuthPlugin package V InitAuthConfig Starting execution amplify:aw...AuthPlugin package V Credential Store State Change: MigratingLegacyStore(id=) amplify:aw...AuthPlugin package V Credential Store State Change: NotConfigured(id=) amplify:aw...AuthPlugin package V MigrateLegacyCredentials Starting execution amplify:aw...AuthPlugin package V MigrateLegacyCredentials Sending event LoadCredentialStore amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=) amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=com.amplifyframework.statemachine.codegen.data.AmplifyCredential$Empty@407de40) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V InitAuthConfig Sending event ConfigureAuthentication amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthentication(authNState=NotConfigured(id=)) amplify:aw...AuthPlugin package V InitAuthNConfig Starting execution amplify:aw...AuthPlugin package V InitAuthNConfig Sending event Configure amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthentication(authNState=Configured(id=)) amplify:aw...AuthPlugin package V ConfigureAuthN Starting execution amplify:aw...AuthPlugin package V ConfigureAuthN Sending event InitializedSignedOut amplify:aw...AuthPlugin package V ConfigureAuthN Sending event ConfiguredAuthentication amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthentication(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null))) amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthorization(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=NotConfigured(id=)) amplify:aw...AuthPlugin package V InitAuthZConfig Starting execution amplify:aw...AuthPlugin package V InitAuthZConfig Sending event Configure amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthorization(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=Configured(id=)) amplify:aw...AuthPlugin package V ConfigureAuthZ Starting execution amplify:aw...AuthPlugin package V ConfigureAuthZ Sending event ConfiguredAuthorization amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=Configured(id=)) amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=FetchingUnAuthSession(fetchAuthSessionState=NotStarted(id=))) amplify:aw...AuthPlugin package V InitFetchUnAuthSession Starting execution amplify:aw...AuthPlugin package V InitFetchUnAuthSession Sending event FetchIdentity amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=FetchingUnAuthSession(fetchAuthSessionState=FetchingIdentity(logins=UnAuthLogins(logins={})))) amplify:aw...AuthPlugin package V FetchIdentity Starting execution amplify:aw...AuthPlugin package V FetchIdentity Sending event FetchAwsCredentials amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=FetchingUnAuthSession(fetchAuthSessionState=FetchingAWSCredentials(identityId=eu-central-1:7ec1e01b-751f-473f-baf4-a4e086a22a10, logins=UnAuthLogins(logins={})))) amplify:aw...AuthPlugin package V FetchAWSCredentials Starting execution amplify:aw...AuthPlugin package V FetchAWSCredentials Sending event Fetched amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=FetchingUnAuthSession(fetchAuthSessionState=Fetched(id=))) amplify:aw...AuthPlugin package V NotifySessionEstablished Starting execution amplify:aw...AuthPlugin package V NotifySessionEstablished Sending event Fetched amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=StoringCredentials(amplifyCredential=IdentityPool(identityId=eu-central-1:7ec1e01b-751f-473f-baf4-a4e086a22a10, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = 0OYVI***, sessionToken = IQoJb***, expiration = 1688623277)))) amplify:aw...AuthPlugin package V PersistCredentials Starting execution amplify:aw...AuthPlugin package V Credential Store State Change: StoringCredentials(id=) amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V StoreCredentials Starting execution amplify:aw...AuthPlugin package V StoreCredentials Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=IdentityPool(identityId=eu-central-1:7ec1e01b-751f-473f-baf4-a4e086a22a10, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = 0OYVI***, sessionToken = IQoJb***, expiration = 1688623277))) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V PersistCredentials Sending event ReceivedCachedCredentials amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=SessionEstablished(amplifyCredential=IdentityPool(identityId=eu-central-1:7ec1e01b-751f-473f-baf4-a4e086a22a10, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = 0OYVI***, sessionToken = IQoJb***, expiration = 1688623277)))) amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=NotStarted(id=)), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V InitiateSignInAction Starting execution amplify:aw...AuthPlugin package V InitiateSignInAction Sending event InitiateSignInWithSRP amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=NotStarted(id=))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V StartSRPAuth Starting execution amplify:aw...AuthPlugin package V StartSRPAuth Sending event InitiateSRP amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=InitiatingSRPA(id=))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V InitSRPAuth Starting execution amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=) amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=ASFDevice(id=3b1bf288-11aa-4396-a8f0-cf4b2419b3a7:1688471811357)) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=) amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=DeviceData(deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=653e2e6c-6ebc-4f90-a60a-99cbb53f660a))) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V InitSRPAuth Sending event RespondPasswordVerifier amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=RespondingPasswordVerifier(id=))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package VerifyPasswordSRP Starting execution amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=) amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=ASFDevice(id=3b1bf288-11aa-4396-a8f0-cf4b2419b3a7:1688471811357)) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package VerifyPasswordSRP Sending event InitiateSignInWithDeviceSRP amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=ResolvingDeviceSRP(deviceSRPSignInState=NotStarted(id=))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V StartDeviceSRPAuth Starting execution amplify:aw...AuthPlugin package V StartDeviceSRPAuth Sending event RespondDeviceSRPChallenge amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=ResolvingDeviceSRP(deviceSRPSignInState=InitiatingDeviceSRP(id=))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V RespondDeviceSRP Starting execution amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=) amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=ASFDevice(id=3b1bf288-11aa-4396-a8f0-cf4b2419b3a7:1688471811357)) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=) amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=DeviceData(deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=653e2e6c-6ebc-4f90-a60a-99cbb53f660a))) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V Credential Store State Change: ClearingCredentials(id=) amplify:aw...AuthPlugin package V ClearCredentialStore Starting execution amplify:aw...AuthPlugin package V ClearCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=com.amplifyframework.statemachine.codegen.data.AmplifyCredential$Empty@407de40) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V RespondDeviceSRP Sending event ThrowAuthError amplify:aw...AuthPlugin package V RespondDeviceSRP Sending event ThrowAuthError amplify:aw...AuthPlugin package V RespondDeviceSRP Sending event CancelSignIn amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=ResolvingDeviceSRP(deviceSRPSignInState=Error(exception=NotAuthorizedException(message=Client 6g164jiups96hiec2e43tv0nt6 is configured with secret but SECRET_HASH was not received)))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=Error(exception=NotAuthorizedException(message=Client 6g164jiups96hiec2e43tv0nt6 is configured with secret but SECRET_HASH was not received))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=Configured(id=)) State machine logs for the case where sign in first worked, but after sign out then fails on the next sign in (this is guaranteed to happen):
amplify:aw...AuthPlugin package V Auth State Change: NotConfigured(id=)
amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuth(id=) amplify:aw...AuthPlugin package V InitAuthConfig Starting execution amplify:aw...AuthPlugin package V Credential Store State Change: NotConfigured(id=) amplify:aw...AuthPlugin package V Credential Store State Change: MigratingLegacyStore(id=) amplify:aw...AuthPlugin package V MigrateLegacyCredentials Starting execution amplify:aw...AuthPlugin package V MigrateLegacyCredentials Sending event LoadCredentialStore amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=) amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=IdentityPool(identityId=eu-central-1:27a5f144-8cf8-4ba1-835e-f95c3e00bdd6, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = DUA4C***, sessionToken = IQoJb***, expiration = 1688622979))) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V InitAuthConfig Sending event ConfigureAuthentication amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthentication(authNState=NotConfigured(id=)) amplify:aw...AuthPlugin package V InitAuthNConfig Starting execution amplify:aw...AuthPlugin package V InitAuthNConfig Sending event Configure amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthentication(authNState=Configured(id=)) amplify:aw...AuthPlugin package V ConfigureAuthN Starting execution amplify:aw...AuthPlugin package V ConfigureAuthN Sending event InitializedSignedOut amplify:aw...AuthPlugin package V ConfigureAuthN Sending event ConfiguredAuthentication amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthentication(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null))) amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthorization(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=NotConfigured(id=)) amplify:aw...AuthPlugin package V InitAuthZConfig Starting execution amplify:aw...AuthPlugin package V InitAuthZConfig Sending event CachedCredentialsAvailable amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthorization(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=SessionEstablished(amplifyCredential=IdentityPool(identityId=eu-central-1:27a5f144-8cf8-4ba1-835e-f95c3e00bdd6, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = DUA4C***, sessionToken = IQoJb***, expiration = 1688622979)))) amplify:aw...AuthPlugin package V ConfigureAuthZ Starting execution amplify:aw...AuthPlugin package V ConfigureAuthZ Sending event ConfiguredAuthorization amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=SessionEstablished(amplifyCredential=IdentityPool(identityId=eu-central-1:27a5f144-8cf8-4ba1-835e-f95c3e00bdd6, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = DUA4C***, sessionToken = IQoJb***, expiration = 1688622979)))) amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=NotStarted(id=)), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V InitiateSignInAction Starting execution amplify:aw...AuthPlugin package V InitiateSignInAction Sending event InitiateSignInWithSRP amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=NotStarted(id=))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V StartSRPAuth Starting execution amplify:aw...AuthPlugin package V StartSRPAuth Sending event InitiateSRP amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=InitiatingSRPA(id=))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V InitSRPAuth Starting execution amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=) amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=ASFDevice(id=3b1bf288-11aa-4396-a8f0-cf4b2419b3a7:1688471811357)) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=) amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=DeviceData(deviceMetadata=com.amplifyframework.statemachine.codegen.data.DeviceMetadata$Empty@e0a94be)) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V InitSRPAuth Sending event RespondPasswordVerifier amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=RespondingPasswordVerifier(id=))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package VerifyPasswordSRP Starting execution amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=) amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=ASFDevice(id=3b1bf288-11aa-4396-a8f0-cf4b2419b3a7:1688471811357)) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package VerifyPasswordSRP Sending event ConfirmDevice amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=ConfirmingDevice(id=)), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V ConfirmDevice Starting execution amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V Credential Store State Change: StoringCredentials(id=) amplify:aw...AuthPlugin package V StoreCredentials Starting execution amplify:aw...AuthPlugin package V StoreCredentials Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=DeviceData(deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=653e2e6c-6ebc-4f90-a60a-99cbb53f660a))) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V ConfirmDevice Sending event SignInCompleted amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedIn(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=null)), authZState=FetchingAuthSession(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), fetchAuthSessionState=NotStarted(id=))) amplify:aw...AuthPlugin package V InitFetchAuthSession Starting execution amplify:aw...AuthPlugin package V InitFetchAuthSession Sending event FetchIdentity amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedIn(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=null)), authZState=FetchingAuthSession(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), fetchAuthSessionState=FetchingIdentity(logins=CognitoUserPoolLogins(region=eu-central-1, poolId=eu-central-1_w2gcf8ye2, idToken=eyJraWQiOiJnTU1iXC9DZWVQQ21IMjd1RDV2aGVjUGNva296V04rdU9CTXRGeXowblc1OD0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJiNjM0ZjFmOC1hZGQ1LTRkZTMtYWUwYS05MWNjMWZmODZjMzciLCJjb2duaXRvOmdyb3VwcyI6WyJjcmVvc190ZXN0Il0sImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJjb2duaXRvOnByZWZlcnJlZF9yb2xlIjoiYXJuOmF3czppYW06OjMxODA1NDE5MjE2OTpyb2xlXC9sYm5hdmlnYXRvcl9jb2duaXRvX2dyb3VwX2NyZW9zX3Rlc3QiLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAuZXUtY2VudHJhbC0xLmFtYXpvbmF3cy5jb21cL2V1LWNlbnRyYWwtMV93MmdjZjh5ZTIiLCJjb2duaXRvOnVzZXJuYW1lIjoibHVrYXMuaGFuc2VuIiwib3JpZ2luX2p0aSI6ImM3NWYxNTJhLWE4YmQtNGYxOS1hMTA5LWVkNjU0OTRhYjkzMCIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06OjMxODA1NDE5MjE2OTpyb2xlXC9sYm5hdmlnYXRvcl9jb2duaXRvX2dyb3VwX2NyZW9zX3Rlc3QiXSwiYXVkIjoiNmcxNjRqaXVwczk2aGllYzJlNDN0djBudDYiLCJldmVudF9pZCI6ImFmNzk0MjU4LTQxODQtNDUxYi1iMjFiLTZkYTUxZmRlMjdiNSIsInRva2VuX3VzZSI6ImlkIiwiYXV0aF90aW1lIjoxNjg4NjE5NTg0LCJleHAiOjE2ODg2MjMxODQsImlhdCI6MTY4ODYxOTU4NCwianRpIjoiNjQ5ZWY2YjEtNzAyNi00OWQyLWI2NzAtNWQ1ODkyMjJkYjljIiwiZW1haWwiOiJsdWthcy5oYW5zZW5AbG9naWJhbGwuZGUifQ.UtWUUWQ5zThOabzgb4oxZIiDNlcNt2uBwqFkpx59sbjnGmogWNYL1XMSxFwII1h5AHiXBHct3WzWMI_AXq5_50nUkukgEnb7ZN0C7WI232z-PVjuCNURuayPJVEXA2SaIZzD7u5NlzQnoc9rswc99nh41tCUHtaANhtltT6-le5Xw3l5OMIbq0QAwvw04nCmpZcTF8sDmJkpO4ac_TS81ZDwF15jzIIKehWKG9jB1s5gXS3Xj5l4fwkVhG24xsQ87c_wUsOkCodRYsn2EaZvO7UwWxpIKnPWGh32YZ1g2xkRsOUI_kln1xDyl79OELfAE_RwJnlzUwB5P7_HT71uMA)))) amplify:aw...AuthPlugin package V FetchIdentity Starting execution amplify:aw...AuthPlugin package V FetchIdentity Sending event FetchAwsCredentials amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedIn(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=null)), authZState=FetchingAuthSession(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), fetchAuthSessionState=FetchingAWSCredentials(identityId=eu-central-1:57d648ec-c83a-454e-85c5-dd357dfa391f, logins=CognitoUserPoolLogins(region=eu-central-1, poolId=eu-central-1_w2gcf8ye2, idToken=eyJraWQiOiJnTU1iXC9DZWVQQ21IMjd1RDV2aGVjUGNva296V04rdU9CTXRGeXowblc1OD0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJiNjM0ZjFmOC1hZGQ1LTRkZTMtYWUwYS05MWNjMWZmODZjMzciLCJjb2duaXRvOmdyb3VwcyI6WyJjcmVvc190ZXN0Il0sImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJjb2duaXRvOnByZWZlcnJlZF9yb2xlIjoiYXJuOmF3czppYW06OjMxODA1NDE5MjE2OTpyb2xlXC9sYm5hdmlnYXRvcl9jb2duaXRvX2dyb3VwX2NyZW9zX3Rlc3QiLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAuZXUtY2VudHJhbC0xLmFtYXpvbmF3cy5jb21cL2V1LWNlbnRyYWwtMV93MmdjZjh5ZTIiLCJjb2duaXRvOnVzZXJuYW1lIjoibHVrYXMuaGFuc2VuIiwib3JpZ2luX2p0aSI6ImM3NWYxNTJhLWE4YmQtNGYxOS1hMTA5LWVkNjU0OTRhYjkzMCIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06OjMxODA1NDE5MjE2OTpyb2xlXC9sYm5hdmlnYXRvcl9jb2duaXRvX2dyb3VwX2NyZW9zX3Rlc3QiXSwiYXVkIjoiNmcxNjRqaXVwczk2aGllYzJlNDN0djBudDYiLCJldmVudF9pZCI6ImFmNzk0MjU4LTQxODQtNDUxYi1iMjFiLTZkYTUxZmRlMjdiNSIsInRva2VuX3VzZSI6ImlkIiwiYXV0aF90aW1lIjoxNjg4NjE5NTg0LCJleHAiOjE2ODg2MjMxODQsImlhdCI6MTY4ODYxOTU4NCwianRpIjoiNjQ5ZWY2YjEtNzAyNi00OWQyLWI2NzAtNWQ1ODkyMjJkYjljIiwiZW1haWwiOiJsdWthcy5oYW5zZW5AbG9naWJhbGwuZGUifQ.UtWUUWQ5zThOabzgb4oxZIiDNlcNt2uBwqFkpx59sbjnGmogWNYL1XMSxFwII1h5AHiXBHct3WzWMI_AXq5_50nUkukgEnb7ZN0C7WI232z-PVjuCNURuayPJVEXA2SaIZzD7u5NlzQnoc9rswc99nh41tCUHtaANhtltT6-le5Xw3l5OMIbq0QAwvw04nCmpZcTF8sDmJkpO4ac_TS81ZDwF15jzIIKehWKG9jB1s5gXS3Xj5l4fwkVhG24xsQ87c_wUsOkCodRYsn2EaZvO7UwWxpIKnPWGh32YZ1g2xkRsOUI_kln1xDyl79OELfAE_RwJnlzUwB5P7_HT71uMA)))) amplify:aw...AuthPlugin package V FetchAWSCredentials Starting execution amplify:aw...AuthPlugin package V FetchAWSCredentials Sending event Fetched amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedIn(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=null)), authZState=FetchingAuthSession(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), fetchAuthSessionState=Fetched(id=))) amplify:aw...AuthPlugin package V NotifySessionEstablished Starting execution amplify:aw...AuthPlugin package V NotifySessionEstablished Sending event Fetched amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedIn(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=null)), authZState=StoringCredentials(amplifyCredential=UserAndIdentityPool(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), identityId=eu-central-1:57d648ec-c83a-454e-85c5-dd357dfa391f, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = Hpm57***, sessionToken = IQoJb***, expiration = 1688623184)))) amplify:aw...AuthPlugin package V PersistCredentials Starting execution amplify:aw...AuthPlugin package V Credential Store State Change: StoringCredentials(id=) amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V StoreCredentials Starting execution amplify:aw...AuthPlugin package V StoreCredentials Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=UserAndIdentityPool(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), identityId=eu-central-1:57d648ec-c83a-454e-85c5-dd357dfa391f, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = Hpm57***, sessionToken = IQoJb***, expiration = 1688623184))) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V PersistCredentials Sending event ReceivedCachedCredentials amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedIn(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=null)), authZState=SessionEstablished(amplifyCredential=UserAndIdentityPool(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), identityId=eu-central-1:57d648ec-c83a-454e-85c5-dd357dfa391f, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = Hpm57***, sessionToken = IQoJb***, expiration = 1688623184)))) amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningOut(signOutState=NotStarted(id=)), authZState=SigningOut(amplifyCredential=UserAndIdentityPool(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), identityId=eu-central-1:57d648ec-c83a-454e-85c5-dd357dfa391f, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = Hpm57***, sessionToken = IQoJb***, expiration = 1688623184)))) amplify:aw...AuthPlugin package V InitSignOut Starting execution amplify:aw...AuthPlugin package V InitSignOut Sending event RevokeToken amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningOut(signOutState=RevokingToken(id=)), authZState=SigningOut(amplifyCredential=UserAndIdentityPool(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), identityId=eu-central-1:57d648ec-c83a-454e-85c5-dd357dfa391f, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = Hpm57***, sessionToken = IQoJb***, expiration = 1688623184)))) amplify:aw...AuthPlugin package V RevokeTokens Starting execution amplify:aw...AuthPlugin package V RevokeTokens Sending event SignOutLocally amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningOut(signOutState=SigningOutLocally(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)))), authZState=StoringCredentials(amplifyCredential=com.amplifyframework.statemachine.codegen.data.AmplifyCredential$Empty@6f3feee)) amplify:aw...AuthPlugin package V LocalSignOut Starting execution amplify:aw...AuthPlugin package V LocalSignOut Sending event SignedOutSuccess amplify:aw...AuthPlugin package V PersistCredentials Starting execution amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=lukas.hansen, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=StoringCredentials(amplifyCredential=com.amplifyframework.statemachine.codegen.data.AmplifyCredential$Empty@6f3feee)) amplify:aw...AuthPlugin package V Credential Store State Change: StoringCredentials(id=) amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V StoreCredentials Starting execution amplify:aw...AuthPlugin package V StoreCredentials Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=com.amplifyframework.statemachine.codegen.data.AmplifyCredential$Empty@6f3feee) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V PersistCredentials Sending event ReceivedCachedCredentials amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=lukas.hansen, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=Configured(id=)) amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=NotStarted(id=)), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V InitiateSignInAction Starting execution amplify:aw...AuthPlugin package V InitiateSignInAction Sending event InitiateSignInWithSRP amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=NotStarted(id=))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V StartSRPAuth Starting execution amplify:aw...AuthPlugin package V StartSRPAuth Sending event InitiateSRP amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=InitiatingSRPA(id=))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V InitSRPAuth Starting execution amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=) amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=ASFDevice(id=3b1bf288-11aa-4396-a8f0-cf4b2419b3a7:1688471811357)) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=) amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=DeviceData(deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=653e2e6c-6ebc-4f90-a60a-99cbb53f660a))) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V InitSRPAuth Sending event RespondPasswordVerifier amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=RespondingPasswordVerifier(id=))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package VerifyPasswordSRP Starting execution amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=) amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=ASFDevice(id=3b1bf288-11aa-4396-a8f0-cf4b2419b3a7:1688471811357)) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package VerifyPasswordSRP Sending event InitiateSignInWithDeviceSRP amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=ResolvingDeviceSRP(deviceSRPSignInState=NotStarted(id=))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V StartDeviceSRPAuth Starting execution amplify:aw...AuthPlugin package V StartDeviceSRPAuth Sending event RespondDeviceSRPChallenge amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=ResolvingDeviceSRP(deviceSRPSignInState=InitiatingDeviceSRP(id=))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V RespondDeviceSRP Starting execution amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=) amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=ASFDevice(id=3b1bf288-11aa-4396-a8f0-cf4b2419b3a7:1688471811357)) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=) amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=DeviceData(deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=653e2e6c-6ebc-4f90-a60a-99cbb53f660a))) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V Credential Store State Change: ClearingCredentials(id=) amplify:aw...AuthPlugin package V ClearCredentialStore Starting execution amplify:aw...AuthPlugin package V ClearCredentialStore Sending event CompletedOperation amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=com.amplifyframework.statemachine.codegen.data.AmplifyCredential$Empty@6f3feee) amplify:aw...AuthPlugin package V MoveToIdleState Starting execution amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=) amplify:aw...AuthPlugin package V RespondDeviceSRP Sending event ThrowAuthError amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=ResolvingDeviceSRP(deviceSRPSignInState=Error(exception=NotAuthorizedException(message=Client 6g164jiups96hiec2e43tv0nt6 is configured with secret but SECRET_HASH was not received)))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V RespondDeviceSRP Sending event ThrowAuthError amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=Error(exception=NotAuthorizedException(message=Client 6g164jiups96hiec2e43tv0nt6 is configured with secret but SECRET_HASH was not received))), authZState=SigningIn(id=)) amplify:aw...AuthPlugin package V RespondDeviceSRP Sending event CancelSignIn amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=Configured(id=)) As a quick aside: How can I attach my subscriber to the auth events so that I always receive the InitializationStatus.SUCCEEDED event, if I initialize it in a Application? Or does it replay those events if I subscribe after the initialization is done? It seems I need to get that event, because SIGNED_IN event is not sent after the plugin was initialized if the user was signed in during the last run of the app, event though when retrieving the authsession they are in fact signed in. |
Hello @Lumentus I am working on a fix and respond here once that fix is available to be consumed. Thank you. |
|
@gpanshu I ran a quick test with the 2.10.0 release and it seems to work now. Thank you for the quick fix. |
|
Before opening, please confirm:
Language and Async Model
Kotlin - Coroutines
Amplify Categories
Authentication
Gradle script dependencies
Environment information
Welcome to Gradle 8.0!
For more details see https://docs.gradle.org/8.0/release-notes.html
Gradle 8.0
Build time: 2023-02-13 13:15:21 UTC
Revision: 62ab9b7c7f884426cf79fbedcf07658b2dbe9e97
Kotlin: 1.8.10
Groovy: 3.0.13
Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM: 11.0.15 (Homebrew 11.0.15+0)
OS: Mac OS X 13.4.1 aarch64
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
Most often my test app crashes, when trying to signing into a cognito user pool with correct credentials. It crashes with a NotAuthorizedException with a message, that indicates that the SECRET_HASH was not retrieved, but it is given in the amplifyconfiguration.json. I know that it is not wrong, because sometimes the sign in works.
Reproduction steps (if applicable)
Code Snippet
Log output
State machine output when the sign in crashes immediately:
amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuth(id=)
amplify:aw...AuthPlugin package V InitAuthConfig Starting execution
amplify:aw...AuthPlugin package V Credential Store State Change: MigratingLegacyStore(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: NotConfigured(id=)
amplify:aw...AuthPlugin package V MigrateLegacyCredentials Starting execution
amplify:aw...AuthPlugin package V MigrateLegacyCredentials Sending event LoadCredentialStore
amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=)
amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution
amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=com.amplifyframework.statemachine.codegen.data.AmplifyCredential$Empty@407de40)
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V InitAuthConfig Sending event ConfigureAuthentication
amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthentication(authNState=NotConfigured(id=))
amplify:aw...AuthPlugin package V InitAuthNConfig Starting execution
amplify:aw...AuthPlugin package V InitAuthNConfig Sending event Configure
amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthentication(authNState=Configured(id=))
amplify:aw...AuthPlugin package V ConfigureAuthN Starting execution
amplify:aw...AuthPlugin package V ConfigureAuthN Sending event InitializedSignedOut
amplify:aw...AuthPlugin package V ConfigureAuthN Sending event ConfiguredAuthentication
amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthentication(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)))
amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthorization(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=NotConfigured(id=))
amplify:aw...AuthPlugin package V InitAuthZConfig Starting execution
amplify:aw...AuthPlugin package V InitAuthZConfig Sending event Configure
amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthorization(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=Configured(id=))
amplify:aw...AuthPlugin package V ConfigureAuthZ Starting execution
amplify:aw...AuthPlugin package V ConfigureAuthZ Sending event ConfiguredAuthorization
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=Configured(id=))
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=FetchingUnAuthSession(fetchAuthSessionState=NotStarted(id=)))
amplify:aw...AuthPlugin package V InitFetchUnAuthSession Starting execution
amplify:aw...AuthPlugin package V InitFetchUnAuthSession Sending event FetchIdentity
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=FetchingUnAuthSession(fetchAuthSessionState=FetchingIdentity(logins=UnAuthLogins(logins={}))))
amplify:aw...AuthPlugin package V FetchIdentity Starting execution
amplify:aw...AuthPlugin package V FetchIdentity Sending event FetchAwsCredentials
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=FetchingUnAuthSession(fetchAuthSessionState=FetchingAWSCredentials(identityId=eu-central-1:7ec1e01b-751f-473f-baf4-a4e086a22a10, logins=UnAuthLogins(logins={}))))
amplify:aw...AuthPlugin package V FetchAWSCredentials Starting execution
amplify:aw...AuthPlugin package V FetchAWSCredentials Sending event Fetched
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=FetchingUnAuthSession(fetchAuthSessionState=Fetched(id=)))
amplify:aw...AuthPlugin package V NotifySessionEstablished Starting execution
amplify:aw...AuthPlugin package V NotifySessionEstablished Sending event Fetched
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=StoringCredentials(amplifyCredential=IdentityPool(identityId=eu-central-1:7ec1e01b-751f-473f-baf4-a4e086a22a10, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = 0OYVI***, sessionToken = IQoJb***, expiration = 1688623277))))
amplify:aw...AuthPlugin package V PersistCredentials Starting execution
amplify:aw...AuthPlugin package V Credential Store State Change: StoringCredentials(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V StoreCredentials Starting execution
amplify:aw...AuthPlugin package V StoreCredentials Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=IdentityPool(identityId=eu-central-1:7ec1e01b-751f-473f-baf4-a4e086a22a10, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = 0OYVI***, sessionToken = IQoJb***, expiration = 1688623277)))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V PersistCredentials Sending event ReceivedCachedCredentials
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=SessionEstablished(amplifyCredential=IdentityPool(identityId=eu-central-1:7ec1e01b-751f-473f-baf4-a4e086a22a10, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = 0OYVI***, sessionToken = IQoJb***, expiration = 1688623277))))
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=NotStarted(id=)), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V InitiateSignInAction Starting execution
amplify:aw...AuthPlugin package V InitiateSignInAction Sending event InitiateSignInWithSRP
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=NotStarted(id=))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V StartSRPAuth Starting execution
amplify:aw...AuthPlugin package V StartSRPAuth Sending event InitiateSRP
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=InitiatingSRPA(id=))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V InitSRPAuth Starting execution
amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution
amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=ASFDevice(id=3b1bf288-11aa-4396-a8f0-cf4b2419b3a7:1688471811357))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution
amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=DeviceData(deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=653e2e6c-6ebc-4f90-a60a-99cbb53f660a)))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V InitSRPAuth Sending event RespondPasswordVerifier
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=RespondingPasswordVerifier(id=))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package VerifyPasswordSRP Starting execution
amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution
amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=ASFDevice(id=3b1bf288-11aa-4396-a8f0-cf4b2419b3a7:1688471811357))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package VerifyPasswordSRP Sending event InitiateSignInWithDeviceSRP
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=ResolvingDeviceSRP(deviceSRPSignInState=NotStarted(id=))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V StartDeviceSRPAuth Starting execution
amplify:aw...AuthPlugin package V StartDeviceSRPAuth Sending event RespondDeviceSRPChallenge
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=ResolvingDeviceSRP(deviceSRPSignInState=InitiatingDeviceSRP(id=))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V RespondDeviceSRP Starting execution
amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution
amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=ASFDevice(id=3b1bf288-11aa-4396-a8f0-cf4b2419b3a7:1688471811357))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=)
amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution
amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=DeviceData(deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=653e2e6c-6ebc-4f90-a60a-99cbb53f660a)))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: ClearingCredentials(id=)
amplify:aw...AuthPlugin package V ClearCredentialStore Starting execution
amplify:aw...AuthPlugin package V ClearCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=com.amplifyframework.statemachine.codegen.data.AmplifyCredential$Empty@407de40)
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V RespondDeviceSRP Sending event ThrowAuthError
amplify:aw...AuthPlugin package V RespondDeviceSRP Sending event ThrowAuthError
amplify:aw...AuthPlugin package V RespondDeviceSRP Sending event CancelSignIn
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=ResolvingDeviceSRP(deviceSRPSignInState=Error(exception=NotAuthorizedException(message=Client 6g164jiups96hiec2e43tv0nt6 is configured with secret but SECRET_HASH was not received)))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=Error(exception=NotAuthorizedException(message=Client 6g164jiups96hiec2e43tv0nt6 is configured with secret but SECRET_HASH was not received))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=Configured(id=))
State machine logs for the case where sign in first worked, but after sign out then fails on the next sign in (this is guaranteed to happen):
amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuth(id=)
amplify:aw...AuthPlugin package V InitAuthConfig Starting execution
amplify:aw...AuthPlugin package V Credential Store State Change: NotConfigured(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: MigratingLegacyStore(id=)
amplify:aw...AuthPlugin package V MigrateLegacyCredentials Starting execution
amplify:aw...AuthPlugin package V MigrateLegacyCredentials Sending event LoadCredentialStore
amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=)
amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution
amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=IdentityPool(identityId=eu-central-1:27a5f144-8cf8-4ba1-835e-f95c3e00bdd6, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = DUA4C***, sessionToken = IQoJb***, expiration = 1688622979)))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V InitAuthConfig Sending event ConfigureAuthentication
amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthentication(authNState=NotConfigured(id=))
amplify:aw...AuthPlugin package V InitAuthNConfig Starting execution
amplify:aw...AuthPlugin package V InitAuthNConfig Sending event Configure
amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthentication(authNState=Configured(id=))
amplify:aw...AuthPlugin package V ConfigureAuthN Starting execution
amplify:aw...AuthPlugin package V ConfigureAuthN Sending event InitializedSignedOut
amplify:aw...AuthPlugin package V ConfigureAuthN Sending event ConfiguredAuthentication
amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthentication(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)))
amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthorization(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=NotConfigured(id=))
amplify:aw...AuthPlugin package V InitAuthZConfig Starting execution
amplify:aw...AuthPlugin package V InitAuthZConfig Sending event CachedCredentialsAvailable
amplify:aw...AuthPlugin package V Auth State Change: ConfiguringAuthorization(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=SessionEstablished(amplifyCredential=IdentityPool(identityId=eu-central-1:27a5f144-8cf8-4ba1-835e-f95c3e00bdd6, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = DUA4C***, sessionToken = IQoJb***, expiration = 1688622979))))
amplify:aw...AuthPlugin package V ConfigureAuthZ Starting execution
amplify:aw...AuthPlugin package V ConfigureAuthZ Sending event ConfiguredAuthorization
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=SessionEstablished(amplifyCredential=IdentityPool(identityId=eu-central-1:27a5f144-8cf8-4ba1-835e-f95c3e00bdd6, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = DUA4C***, sessionToken = IQoJb***, expiration = 1688622979))))
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=NotStarted(id=)), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V InitiateSignInAction Starting execution
amplify:aw...AuthPlugin package V InitiateSignInAction Sending event InitiateSignInWithSRP
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=NotStarted(id=))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V StartSRPAuth Starting execution
amplify:aw...AuthPlugin package V StartSRPAuth Sending event InitiateSRP
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=InitiatingSRPA(id=))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V InitSRPAuth Starting execution
amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution
amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=ASFDevice(id=3b1bf288-11aa-4396-a8f0-cf4b2419b3a7:1688471811357))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=)
amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution
amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=DeviceData(deviceMetadata=com.amplifyframework.statemachine.codegen.data.DeviceMetadata$Empty@e0a94be))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V InitSRPAuth Sending event RespondPasswordVerifier
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=RespondingPasswordVerifier(id=))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package VerifyPasswordSRP Starting execution
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=)
amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution
amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=ASFDevice(id=3b1bf288-11aa-4396-a8f0-cf4b2419b3a7:1688471811357))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package VerifyPasswordSRP Sending event ConfirmDevice
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=ConfirmingDevice(id=)), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V ConfirmDevice Starting execution
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: StoringCredentials(id=)
amplify:aw...AuthPlugin package V StoreCredentials Starting execution
amplify:aw...AuthPlugin package V StoreCredentials Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=DeviceData(deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=653e2e6c-6ebc-4f90-a60a-99cbb53f660a)))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V ConfirmDevice Sending event SignInCompleted
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedIn(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=null)), authZState=FetchingAuthSession(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), fetchAuthSessionState=NotStarted(id=)))
amplify:aw...AuthPlugin package V InitFetchAuthSession Starting execution
amplify:aw...AuthPlugin package V InitFetchAuthSession Sending event FetchIdentity
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedIn(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=null)), authZState=FetchingAuthSession(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), fetchAuthSessionState=FetchingIdentity(logins=CognitoUserPoolLogins(region=eu-central-1, poolId=eu-central-1_w2gcf8ye2, idToken=eyJraWQiOiJnTU1iXC9DZWVQQ21IMjd1RDV2aGVjUGNva296V04rdU9CTXRGeXowblc1OD0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJiNjM0ZjFmOC1hZGQ1LTRkZTMtYWUwYS05MWNjMWZmODZjMzciLCJjb2duaXRvOmdyb3VwcyI6WyJjcmVvc190ZXN0Il0sImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJjb2duaXRvOnByZWZlcnJlZF9yb2xlIjoiYXJuOmF3czppYW06OjMxODA1NDE5MjE2OTpyb2xlXC9sYm5hdmlnYXRvcl9jb2duaXRvX2dyb3VwX2NyZW9zX3Rlc3QiLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAuZXUtY2VudHJhbC0xLmFtYXpvbmF3cy5jb21cL2V1LWNlbnRyYWwtMV93MmdjZjh5ZTIiLCJjb2duaXRvOnVzZXJuYW1lIjoibHVrYXMuaGFuc2VuIiwib3JpZ2luX2p0aSI6ImM3NWYxNTJhLWE4YmQtNGYxOS1hMTA5LWVkNjU0OTRhYjkzMCIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06OjMxODA1NDE5MjE2OTpyb2xlXC9sYm5hdmlnYXRvcl9jb2duaXRvX2dyb3VwX2NyZW9zX3Rlc3QiXSwiYXVkIjoiNmcxNjRqaXVwczk2aGllYzJlNDN0djBudDYiLCJldmVudF9pZCI6ImFmNzk0MjU4LTQxODQtNDUxYi1iMjFiLTZkYTUxZmRlMjdiNSIsInRva2VuX3VzZSI6ImlkIiwiYXV0aF90aW1lIjoxNjg4NjE5NTg0LCJleHAiOjE2ODg2MjMxODQsImlhdCI6MTY4ODYxOTU4NCwianRpIjoiNjQ5ZWY2YjEtNzAyNi00OWQyLWI2NzAtNWQ1ODkyMjJkYjljIiwiZW1haWwiOiJsdWthcy5oYW5zZW5AbG9naWJhbGwuZGUifQ.UtWUUWQ5zThOabzgb4oxZIiDNlcNt2uBwqFkpx59sbjnGmogWNYL1XMSxFwII1h5AHiXBHct3WzWMI_AXq5_50nUkukgEnb7ZN0C7WI232z-PVjuCNURuayPJVEXA2SaIZzD7u5NlzQnoc9rswc99nh41tCUHtaANhtltT6-le5Xw3l5OMIbq0QAwvw04nCmpZcTF8sDmJkpO4ac_TS81ZDwF15jzIIKehWKG9jB1s5gXS3Xj5l4fwkVhG24xsQ87c_wUsOkCodRYsn2EaZvO7UwWxpIKnPWGh32YZ1g2xkRsOUI_kln1xDyl79OELfAE_RwJnlzUwB5P7_HT71uMA))))
amplify:aw...AuthPlugin package V FetchIdentity Starting execution
amplify:aw...AuthPlugin package V FetchIdentity Sending event FetchAwsCredentials
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedIn(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=null)), authZState=FetchingAuthSession(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), fetchAuthSessionState=FetchingAWSCredentials(identityId=eu-central-1:57d648ec-c83a-454e-85c5-dd357dfa391f, logins=CognitoUserPoolLogins(region=eu-central-1, poolId=eu-central-1_w2gcf8ye2, idToken=eyJraWQiOiJnTU1iXC9DZWVQQ21IMjd1RDV2aGVjUGNva296V04rdU9CTXRGeXowblc1OD0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJiNjM0ZjFmOC1hZGQ1LTRkZTMtYWUwYS05MWNjMWZmODZjMzciLCJjb2duaXRvOmdyb3VwcyI6WyJjcmVvc190ZXN0Il0sImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJjb2duaXRvOnByZWZlcnJlZF9yb2xlIjoiYXJuOmF3czppYW06OjMxODA1NDE5MjE2OTpyb2xlXC9sYm5hdmlnYXRvcl9jb2duaXRvX2dyb3VwX2NyZW9zX3Rlc3QiLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAuZXUtY2VudHJhbC0xLmFtYXpvbmF3cy5jb21cL2V1LWNlbnRyYWwtMV93MmdjZjh5ZTIiLCJjb2duaXRvOnVzZXJuYW1lIjoibHVrYXMuaGFuc2VuIiwib3JpZ2luX2p0aSI6ImM3NWYxNTJhLWE4YmQtNGYxOS1hMTA5LWVkNjU0OTRhYjkzMCIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06OjMxODA1NDE5MjE2OTpyb2xlXC9sYm5hdmlnYXRvcl9jb2duaXRvX2dyb3VwX2NyZW9zX3Rlc3QiXSwiYXVkIjoiNmcxNjRqaXVwczk2aGllYzJlNDN0djBudDYiLCJldmVudF9pZCI6ImFmNzk0MjU4LTQxODQtNDUxYi1iMjFiLTZkYTUxZmRlMjdiNSIsInRva2VuX3VzZSI6ImlkIiwiYXV0aF90aW1lIjoxNjg4NjE5NTg0LCJleHAiOjE2ODg2MjMxODQsImlhdCI6MTY4ODYxOTU4NCwianRpIjoiNjQ5ZWY2YjEtNzAyNi00OWQyLWI2NzAtNWQ1ODkyMjJkYjljIiwiZW1haWwiOiJsdWthcy5oYW5zZW5AbG9naWJhbGwuZGUifQ.UtWUUWQ5zThOabzgb4oxZIiDNlcNt2uBwqFkpx59sbjnGmogWNYL1XMSxFwII1h5AHiXBHct3WzWMI_AXq5_50nUkukgEnb7ZN0C7WI232z-PVjuCNURuayPJVEXA2SaIZzD7u5NlzQnoc9rswc99nh41tCUHtaANhtltT6-le5Xw3l5OMIbq0QAwvw04nCmpZcTF8sDmJkpO4ac_TS81ZDwF15jzIIKehWKG9jB1s5gXS3Xj5l4fwkVhG24xsQ87c_wUsOkCodRYsn2EaZvO7UwWxpIKnPWGh32YZ1g2xkRsOUI_kln1xDyl79OELfAE_RwJnlzUwB5P7_HT71uMA))))
amplify:aw...AuthPlugin package V FetchAWSCredentials Starting execution
amplify:aw...AuthPlugin package V FetchAWSCredentials Sending event Fetched
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedIn(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=null)), authZState=FetchingAuthSession(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), fetchAuthSessionState=Fetched(id=)))
amplify:aw...AuthPlugin package V NotifySessionEstablished Starting execution
amplify:aw...AuthPlugin package V NotifySessionEstablished Sending event Fetched
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedIn(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=null)), authZState=StoringCredentials(amplifyCredential=UserAndIdentityPool(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), identityId=eu-central-1:57d648ec-c83a-454e-85c5-dd357dfa391f, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = Hpm57***, sessionToken = IQoJb***, expiration = 1688623184))))
amplify:aw...AuthPlugin package V PersistCredentials Starting execution
amplify:aw...AuthPlugin package V Credential Store State Change: StoringCredentials(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V StoreCredentials Starting execution
amplify:aw...AuthPlugin package V StoreCredentials Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=UserAndIdentityPool(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), identityId=eu-central-1:57d648ec-c83a-454e-85c5-dd357dfa391f, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = Hpm57***, sessionToken = IQoJb***, expiration = 1688623184)))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V PersistCredentials Sending event ReceivedCachedCredentials
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedIn(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=null)), authZState=SessionEstablished(amplifyCredential=UserAndIdentityPool(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), identityId=eu-central-1:57d648ec-c83a-454e-85c5-dd357dfa391f, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = Hpm57***, sessionToken = IQoJb***, expiration = 1688623184))))
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningOut(signOutState=NotStarted(id=)), authZState=SigningOut(amplifyCredential=UserAndIdentityPool(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), identityId=eu-central-1:57d648ec-c83a-454e-85c5-dd357dfa391f, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = Hpm57***, sessionToken = IQoJb***, expiration = 1688623184))))
amplify:aw...AuthPlugin package V InitSignOut Starting execution
amplify:aw...AuthPlugin package V InitSignOut Sending event RevokeToken
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningOut(signOutState=RevokingToken(id=)), authZState=SigningOut(amplifyCredential=UserAndIdentityPool(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)), identityId=eu-central-1:57d648ec-c83a-454e-85c5-dd357dfa391f, credentials=AWSCredentials(accessKeyId = ASIAU***, secretAccessKey = Hpm57***, sessionToken = IQoJb***, expiration = 1688623184))))
amplify:aw...AuthPlugin package V RevokeTokens Starting execution
amplify:aw...AuthPlugin package V RevokeTokens Sending event SignOutLocally
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningOut(signOutState=SigningOutLocally(signedInData=SignedInData(userId=b634f1f8-add5-4de3-ae0a-91cc1ff86c37, username=lukas.hansen, signedInDate=Thu Jul 06 06:59:44 GMT+02:00 2023, signInMethod=ApiBased(authType=USER_SRP_AUTH), cognitoUserPoolTokens=CognitoUserPoolTokens(idToken = eyJra***, accessToken = eyJra***, refreshToken = eyJjd***)))), authZState=StoringCredentials(amplifyCredential=com.amplifyframework.statemachine.codegen.data.AmplifyCredential$Empty@6f3feee))
amplify:aw...AuthPlugin package V LocalSignOut Starting execution
amplify:aw...AuthPlugin package V LocalSignOut Sending event SignedOutSuccess
amplify:aw...AuthPlugin package V PersistCredentials Starting execution
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=lukas.hansen, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=StoringCredentials(amplifyCredential=com.amplifyframework.statemachine.codegen.data.AmplifyCredential$Empty@6f3feee))
amplify:aw...AuthPlugin package V Credential Store State Change: StoringCredentials(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V StoreCredentials Starting execution
amplify:aw...AuthPlugin package V StoreCredentials Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=com.amplifyframework.statemachine.codegen.data.AmplifyCredential$Empty@6f3feee)
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V PersistCredentials Sending event ReceivedCachedCredentials
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=lukas.hansen, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=Configured(id=))
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=NotStarted(id=)), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V InitiateSignInAction Starting execution
amplify:aw...AuthPlugin package V InitiateSignInAction Sending event InitiateSignInWithSRP
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=NotStarted(id=))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V StartSRPAuth Starting execution
amplify:aw...AuthPlugin package V StartSRPAuth Sending event InitiateSRP
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=InitiatingSRPA(id=))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V InitSRPAuth Starting execution
amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=)
amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution
amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=ASFDevice(id=3b1bf288-11aa-4396-a8f0-cf4b2419b3a7:1688471811357))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution
amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=DeviceData(deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=653e2e6c-6ebc-4f90-a60a-99cbb53f660a)))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V InitSRPAuth Sending event RespondPasswordVerifier
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=SigningInWithSRP(srpSignInState=RespondingPasswordVerifier(id=))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package VerifyPasswordSRP Starting execution
amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution
amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=ASFDevice(id=3b1bf288-11aa-4396-a8f0-cf4b2419b3a7:1688471811357))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package VerifyPasswordSRP Sending event InitiateSignInWithDeviceSRP
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=ResolvingDeviceSRP(deviceSRPSignInState=NotStarted(id=))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V StartDeviceSRPAuth Starting execution
amplify:aw...AuthPlugin package V StartDeviceSRPAuth Sending event RespondDeviceSRPChallenge
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=ResolvingDeviceSRP(deviceSRPSignInState=InitiatingDeviceSRP(id=))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V RespondDeviceSRP Starting execution
amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution
amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=ASFDevice(id=3b1bf288-11aa-4396-a8f0-cf4b2419b3a7:1688471811357))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: LoadingStoredCredentials(id=)
amplify:aw...AuthPlugin package V LoadCredentialStore Starting execution
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V LoadCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=DeviceData(deviceMetadata=Metadata(deviceKey=eu-central-1_4d0a869d-170f-44ff-a738-88598b619cdb, deviceGroupKey=-LnOiy5R8, deviceSecret=653e2e6c-6ebc-4f90-a60a-99cbb53f660a)))
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V Credential Store State Change: ClearingCredentials(id=)
amplify:aw...AuthPlugin package V ClearCredentialStore Starting execution
amplify:aw...AuthPlugin package V ClearCredentialStore Sending event CompletedOperation
amplify:aw...AuthPlugin package V Credential Store State Change: Success(storedCredentials=com.amplifyframework.statemachine.codegen.data.AmplifyCredential$Empty@6f3feee)
amplify:aw...AuthPlugin package V MoveToIdleState Starting execution
amplify:aw...AuthPlugin package V MoveToIdleState Sending event MoveToIdleState
amplify:aw...AuthPlugin package V Credential Store State Change: Idle(id=)
amplify:aw...AuthPlugin package V RespondDeviceSRP Sending event ThrowAuthError
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=ResolvingDeviceSRP(deviceSRPSignInState=Error(exception=NotAuthorizedException(message=Client 6g164jiups96hiec2e43tv0nt6 is configured with secret but SECRET_HASH was not received)))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V RespondDeviceSRP Sending event ThrowAuthError
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SigningIn(signInState=Error(exception=NotAuthorizedException(message=Client 6g164jiups96hiec2e43tv0nt6 is configured with secret but SECRET_HASH was not received))), authZState=SigningIn(id=))
amplify:aw...AuthPlugin package V RespondDeviceSRP Sending event CancelSignIn
amplify:aw...AuthPlugin package V Auth State Change: Configured(authNState=SignedOut(signedOutData=SignedOutData(lastKnownUsername=null, hostedUIErrorData=null, globalSignOutErrorData=null, revokeTokenErrorData=null)), authZState=Configured(id=))
Stacktrace of the crash:
NotAuthorizedException{message=Failed since user is not authorized., cause=NotAuthorizedException(message=Client 6g164jiups96hiec2e43tv0nt6 is configured with secret but SECRET_HASH was not received), recoverySuggestion=Check whether the given values are correct and the user is authorized to perform the operation.}
at com.amplifyframework.auth.cognito.CognitoAuthExceptionConverter$Companion.lookup(CognitoAuthExceptionConverter.kt:80)
at com.amplifyframework.auth.cognito.RealAWSCognitoAuthPlugin$_signIn$1.invoke(RealAWSCognitoAuthPlugin.kt:554)
at com.amplifyframework.auth.cognito.RealAWSCognitoAuthPlugin$_signIn$1.invoke(RealAWSCognitoAuthPlugin.kt:534)
at com.amplifyframework.statemachine.StateMachine.notifySubscribers(StateMachine.kt:176)
at com.amplifyframework.statemachine.StateMachine.process(StateMachine.kt:191)
at com.amplifyframework.statemachine.StateMachine.access$process(StateMachine.kt:49)
at com.amplifyframework.statemachine.StateMachine$send$1.invokeSuspend(StateMachine.kt:160)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@c87de7, Dispatchers.Default]
Caused by: NotAuthorizedException(message=Client 6g164jiups96hiec2e43tv0nt6 is configured with secret but SECRET_HASH was not received)
at aws.sdk.kotlin.services.cognitoidentityprovider.model.NotAuthorizedException$Builder.build(NotAuthorizedException.kt:63)
at aws.sdk.kotlin.services.cognitoidentityprovider.transform.NotAuthorizedExceptionDeserializer.deserialize(NotAuthorizedExceptionDeserializer.kt:34)
at aws.sdk.kotlin.services.cognitoidentityprovider.transform.RespondToAuthChallengeOperationDeserializerKt.throwRespondToAuthChallengeError(RespondToAuthChallengeOperationDeserializer.kt:74)
at aws.sdk.kotlin.services.cognitoidentityprovider.transform.RespondToAuthChallengeOperationDeserializerKt.access$throwRespondToAuthChallengeError(RespondToAuthChallengeOperationDeserializer.kt:1)
at aws.sdk.kotlin.services.cognitoidentityprovider.transform.RespondToAuthChallengeOperationDeserializerKt$throwRespondToAuthChallengeError$1.invokeSuspend(Unknown Source:13)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
amplifyconfiguration.json
GraphQL Schema
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: