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

fix(auth): Await signInUri in Hosted UI platform #2706

Merged
merged 2 commits into from Mar 1, 2023
Merged

fix(auth): Await signInUri in Hosted UI platform #2706

merged 2 commits into from Mar 1, 2023

Conversation

passsy
Copy link
Contributor

@passsy passsy commented Feb 27, 2023

Fixes #2705

I don't think this ever worked. The URL always resolved to "Instance of 'Future<Uri>'"

@passsy passsy requested a review from a team as a code owner February 27, 2023 21:35
@dnys1
Copy link
Contributor

dnys1 commented Feb 27, 2023

Thanks, @passsy! The method signature was very recently updated to return a Future. I will look into adding tests which verify this behavior. In the meantime, yes this is the correct fix :)

@dnys1 dnys1 changed the title Await signInUri fix(auth): Await signInUri in Hosted UI platform Feb 27, 2023
passsy and others added 2 commits February 28, 2023 17:43
Verifies the behavior of the `NativeAuthBridge` layer in the Hosted UI platform
@dnys1 dnys1 merged commit 3e50b71 into aws-amplify:next Mar 1, 2023
dnys1 pushed a commit that referenced this pull request Mar 7, 2023
### Breaking Changes
- chore(auth)!: Chain stack traces in state machine
- chore(core)!: Chain stack traces for state machines
- feat(api)!: custom primary key support for GraphQL model helpers ([#2606](#2606))

### Fixes
- fix(api): early call of Amplify creates wrong instance of AmplifyClass
- fix(api): write null values in ModelMutations.create() unless owner field ([#2679](#2679))
- fix(auth): Await `signInUri` in Hosted UI platform ([#2706](#2706))
- fix(auth): Transform session expired exceptions ([#2688](#2688))
- fix(storage): GetUrl signing

### Features
- feat(api): GraphQL Subscription Where Filter ([#2650](#2650))
- feat(aws_common): add openRead API for AWSFile
- feat(storage): optimize part size for multipart upload
- feat(storage): web implementation of transfer database using local storage ([#2631](#2631))

Updated-Components: aws_common, Amplify Flutter, Amplify Dart, Amplify UI, DB Common
dnys1 pushed a commit that referenced this pull request Mar 7, 2023
### Breaking Changes
- chore(auth)!: Chain stack traces in state machine
- chore(core)!: Chain stack traces for state machines
- feat(api)!: custom primary key support for GraphQL model helpers ([#2606](#2606))

### Fixes
- fix(api): early call of Amplify creates wrong instance of AmplifyClass
- fix(api): write null values in ModelMutations.create() unless owner field ([#2679](#2679))
- fix(auth): Await `signInUri` in Hosted UI platform ([#2706](#2706))
- fix(auth): Transform session expired exceptions ([#2688](#2688))
- fix(storage): GetUrl signing

### Features
- feat(api): GraphQL Subscription Where Filter ([#2650](#2650))
- feat(aws_common): add openRead API for AWSFile
- feat(storage): optimize part size for multipart upload
- feat(storage): web implementation of transfer database using local storage ([#2631](#2631))

Updated-Components: aws_common, Amplify Flutter, Amplify Dart, Amplify UI, DB Common
dnys1 pushed a commit that referenced this pull request Mar 7, 2023
### Breaking Changes
- chore(auth)!: Chain stack traces in state machine
- chore(core)!: Chain stack traces for state machines
- feat(api)!: custom primary key support for GraphQL model helpers ([#2606](#2606))

### Fixes
- fix(api): early call of Amplify creates wrong instance of AmplifyClass
- fix(api): write null values in ModelMutations.create() unless owner field ([#2679](#2679))
- fix(auth): Await `signInUri` in Hosted UI platform ([#2706](#2706))
- fix(auth): Transform session expired exceptions ([#2688](#2688))
- fix(storage): GetUrl signing

### Features
- feat(api): GraphQL Subscription Where Filter ([#2650](#2650))
- feat(aws_common): add openRead API for AWSFile
- feat(storage): optimize part size for multipart upload
- feat(storage): web implementation of transfer database using local storage ([#2631](#2631))

Updated-Components: aws_common, Amplify Flutter, Amplify Dart, Amplify UI, DB Common
dnys1 pushed a commit that referenced this pull request Mar 7, 2023
### Breaking Changes
- chore(auth)!: Chain stack traces in state machine
- chore(core)!: Chain stack traces for state machines
- feat(api)!: custom primary key support for GraphQL model helpers ([#2606](#2606))

### Fixes
- fix(api): early call of Amplify creates wrong instance of AmplifyClass
- fix(api): write null values in ModelMutations.create() unless owner field ([#2679](#2679))
- fix(auth): Await `signInUri` in Hosted UI platform ([#2706](#2706))
- fix(auth): Transform session expired exceptions ([#2688](#2688))
- fix(storage): GetUrl signing

### Features
- feat(api): GraphQL Subscription Where Filter ([#2650](#2650))
- feat(aws_common): add openRead API for AWSFile
- feat(storage): optimize part size for multipart upload
- feat(storage): web implementation of transfer database using local storage ([#2631](#2631))

Updated-Components: aws_common, Amplify Flutter, Amplify Dart, Amplify UI, DB Common
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants