-
Notifications
You must be signed in to change notification settings - Fork 127
Description
Before opening, please confirm:
- I have searched for duplicate or closed issues and discussions.
Language and Async Model
Kotlin
Amplify Categories
Authentication
Gradle script dependencies
// Put output below this line
implementation 'com.amplifyframework:core:2.16.0'
implementation 'com.amplifyframework:aws-api:2.16.0'
implementation 'com.amplifyframework:aws-datastore:2.16.0'
implementation 'com.amplifyframework:aws-auth-cognito:2.16.0'
implementation 'com.amazonaws:aws-android-sdk-auth-userpools:2.8.0'
implementation("io.github.jan-tennert.supabase:postgrest-kt:0.7.6")
implementation("io.ktor:ktor-client-cio:2.3.3")
implementation 'com.amplifyframework:aws-storage-s3:2.16.0'
implementation("aws.sdk.kotlin:dynamodb:1.0.30")
implementation("aws.sdk.kotlin:secretsmanager:1.0.30")
implementation("aws.smithy.kotlin:http-client-engine-okhttp:1.0.11")
implementation("aws.smithy.kotlin:http-client-engine-crt:0.30.0")
implementation 'aws.sdk.kotlin:aws-core:1.0.44'
Environment information
# Put output below this line
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
Hi,
Hope you are all fine!
I want to add social provider sign-in for google accounts. I followed all of the instructions in https://docs.amplify.aws/gen1/android/build-a-backend/auth/add-social-provider/
Then I added google identity provider in user pool ->sign-in experience and enter client_id and client_secret:
The host UI configuration is as follows:
When I run the Amplify.Auth.signInWithSocialWebUI in the first time the application minimize but when I reopen the app a diolog pops up and I choose my account and in user pool my account appears:
resultLauncher.launch(googleSignInClient.signInIntent)
AmplifyRepository.signInWithGoogle(this)
Amplify.Auth.signInWithSocialWebUI(
com.amplifyframework.auth.AuthProvider.google(),
this,
{
app.l("AuthQuickstart Sign in OK: $it")
},
{
app.l("AuthQuickstart Sign in failed $it")
}
)
However, the email is not verified.
It is worth noting that I don't have any problem with signInWithEmailAndPassword, and it works fine.
Could you please explain if anything else is required to do?
Thanks.
Reproduction steps (if applicable)
No response
Code Snippet
// Put your code below this line.Log output
// Put your logs below this line
amplifyconfiguration.json
No response
GraphQL Schema
// Put your schema below this line
Additional information and screenshots
No response


