Skip to content
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

Closed
1 task done
Lumentus opened this issue Jul 4, 2023 · 7 comments · Fixed by #2508
Closed
1 task done
Assignees
Labels
auth Related to the Auth category/plugins bug Something isn't working closing soon This issue will be closed in 7 days unless further comments are made.

Comments

@Lumentus
Copy link

Lumentus commented Jul 4, 2023

Before opening, please confirm:

Language and Async Model

Kotlin - Coroutines

Amplify Categories

Authentication

Gradle script dependencies

implementation "com.amplifyframework:core-kotlin:2.8.7"
implementation "com.amplifyframework:aws-auth-cognito:2.8.7"

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)

  1. Install app with given activity.
  2. Input correct credentials
  3. Click sign in
  4. Crash

Code Snippet

import android.os.Bundle
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.Button
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.material3.Text
import androidx.compose.material3.TextField
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.compose.ui.Modifier
import androidx.lifecycle.lifecycleScope
import com.amplifyframework.auth.AuthChannelEventName
import com.amplifyframework.auth.cognito.AWSCognitoAuthPlugin
import com.amplifyframework.core.AmplifyConfiguration
import com.amplifyframework.core.InitializationStatus
import com.amplifyframework.hub.HubChannel
import com.amplifyframework.kotlin.core.Amplify
import com.amplifyframework.logging.AndroidLoggingPlugin
import com.amplifyframework.logging.LogLevel
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Job
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.launch

class MainActivity : ComponentActivity() {
    val signedIn = MutableStateFlow(false)
    val username = MutableStateFlow<String?>(null)

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        startAuthEventObservation()
        Amplify.addPlugin(AWSCognitoAuthPlugin())
        Amplify.addPlugin(AndroidLoggingPlugin(LogLevel.VERBOSE))
        Amplify.configure( this)

        setContent {
            MaterialTheme {
                // A surface container using the 'background' color from the theme
                Surface(modifier = Modifier.fillMaxSize(), color = MaterialTheme.colorScheme.background) {
                    val signedIn = this.signedIn.collectAsState()
                    if (signedIn.value) {
                        val username = this.username.collectAsState()
                        SignedIn(username = username.value ?: "") {
                            lifecycleScope.launch(Dispatchers.Default) {
                                Amplify.Auth.signOut()
                            }
                        }
                    } else {
                        SignIn { username, password ->
                            this.lifecycleScope.launch(Dispatchers.Default) {
                                val result = Amplify.Auth.signIn(username, password)
                                Log.i("Sign in", "Result: ${result.isSignedIn}")
                            }
                        }
                    }
                }
            }
        }
    }

    var authSubJob: Job? = null

    fun startAuthEventObservation() {
        authSubJob = lifecycleScope.launch(Dispatchers.Default) {
            Amplify.Hub.subscribe(HubChannel.AUTH).collect { event ->
                when (event.name) {
                    InitializationStatus.SUCCEEDED.toString() -> {
                        Log.d("LogTag.BACKEND_SERVICE", "Auth successfully initialized")
                        val session = Amplify.Auth.fetchAuthSession()
                        if (session.isSignedIn) {
                            onSignedIn()
                        }
                    }

                    InitializationStatus.FAILED.toString() ->
                        Log.d("LogTag.BACKEND_SERVICE", "Auth failed to initialize")

                    else -> when (AuthChannelEventName.valueOf(event.name)) {
                        AuthChannelEventName.SIGNED_IN -> onSignedIn()

                        AuthChannelEventName.SIGNED_OUT -> onSignedOut()

                        else -> {
                            Log.d("AuthEvent", "${event.name}")
                        }
                    }
                }
            }
        }
    }

    suspend fun onSignedIn() {
        val user = Amplify.Auth.getCurrentUser()
        username.value = user.username
        signedIn.value = true
    }

    fun onSignedOut() {
        signedIn.value = false
        username.value = null
    }
}

@OptIn(ExperimentalMaterial3Api::class)
@Composable
fun SignIn(modifier: Modifier = Modifier, signInAction: (String, String) -> Unit) {
    var username by remember {
        mutableStateOf("")
    }
    var password by remember {
        mutableStateOf("")
    }
    Column(modifier = modifier) {
        TextField(value = username, onValueChange = { username = it })
        TextField(value = password, onValueChange = { password = it })
        Button(onClick = {
            signInAction(username, password)
        }) {
            Text("Sign in")
        }
    }
}

@Composable
fun SignedIn(username: String, modifier: Modifier = Modifier, signedOutAction: () -> Unit) {
    Column(modifier = modifier, verticalArrangement = Arrangement.Center) {
        Text(
            text = "Hello $username!",
        )
        Button(onClick = { signedOutAction() }) {
            Text(text = "Sign out")
        }
    }
}

Log output

State machine output when the sign in crashes immediately:

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=))

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

{
  "auth": {
    "plugins": {
      "awsCognitoAuthPlugin": {
        "IdentityManager": {
          "Default": {}
        },
        "CredentialsProvider": {
          "CognitoIdentity": {
            "Default": {
              "PoolId": "xxxxxxxxxxxxxx",
              "Region": "xxxxxxxxxxxxxx"
            }
          }
        },
        "CognitoUserPool": {
          "Default": {
            "PoolId": "exxxxxxxxxxxxxx",
            "AppClientId": "xxxxxxxxxxxxxx",
            "AppClientSecret": "xxxxxxxxxxxxxx",
            "Region": "xxxxxxxxxxxxxx"
          }
        },
        "Auth": {
          "Default": {
            "authenticationFlowType": "USER_SRP_AUTH"
          }
        }
      }
    }
  }
}

GraphQL Schema

// Put your schema below this line

Additional information and screenshots

No response

@gpanshu gpanshu added auth Related to the Auth category/plugins bug Something isn't working labels Jul 5, 2023
@gpanshu
Copy link
Contributor

gpanshu commented Jul 5, 2023

Hi @Lumentus can you do the following to help us troubleshoot your issue a little more:

  1. Add the logging plugin before the auth plugin instead of afterwards.
  2. Add your addplugin and configure calls in the application class instead of the activity
  3. Paste the state machine logs after adding the logging plugin in that sequence.

@gpanshu gpanshu added the pending-community-response Issue is pending response from the issue requestor label Jul 5, 2023
@Lumentus
Copy link
Author

Lumentus commented Jul 6, 2023

Hi @gpanshu I added those logs to the Question. I will also put them here to make finding them easier:
State machine output when the sign in crashes immediately:

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.

@gpanshu gpanshu removed the pending-community-response Issue is pending response from the issue requestor label Jul 11, 2023
@gpanshu gpanshu self-assigned this Jul 11, 2023
@gpanshu
Copy link
Contributor

gpanshu commented Jul 11, 2023

Hello @Lumentus I am working on a fix and respond here once that fix is available to be consumed. Thank you.

@github-actions
Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@gpanshu
Copy link
Contributor

gpanshu commented Jul 14, 2023

@Lumentus github automatically closed this issue before I could respond with the release version. The release that this fix is in is 2.10.0 . Thank you.

@gpanshu gpanshu reopened this Jul 14, 2023
@gpanshu gpanshu added the closing soon This issue will be closed in 7 days unless further comments are made. label Jul 14, 2023
@Lumentus
Copy link
Author

@gpanshu I ran a quick test with the 2.10.0 release and it seems to work now. Thank you for the quick fix.

@github-actions
Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth Related to the Auth category/plugins bug Something isn't working closing soon This issue will be closed in 7 days unless further comments are made.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants