You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may pass additional parameters to the `Amplify.Auth.signInWithWebUI` which are added as query parameters in the requests to [Cognito authorization endpoint](https://docs.aws.amazon.com/cognito/latest/developerguide/authorization-endpoint.html).
129
+
130
+
```kotlin
131
+
val options =AWSCognitoAuthWebUISignInOptions.builder()
You may pass additional parameters to the `Amplify.Auth.signInWithWebUI` which are added as query parameters in the requests to [Cognito authorization endpoint](https://docs.aws.amazon.com/cognito/latest/developerguide/authorization-endpoint.html).
288
+
289
+
```swift
290
+
let options = AuthWebUISignInRequest.Options(
291
+
pluginOptions: AWSAuthWebUISignInOptions.init(
292
+
nonce: "randomUUID",
293
+
language: "en",
294
+
loginHint: "username",
295
+
prompt: [.login, .consent],
296
+
resource: "http://localhost"))
297
+
298
+
let signInResult =tryawait Amplify.Auth.signInWithWebUI(
You may pass additional parameters to the `Amplify.Auth.signInWithWebUI` which are added as query parameters in the requests to [Cognito authorization endpoint](https://docs.aws.amazon.com/cognito/latest/developerguide/authorization-endpoint.html).
441
+
442
+
```dart
443
+
Future<void> signInWithWebUIAndOptions() async {
444
+
try {
445
+
final result = await Amplify.Auth.Amplify.Auth.signInWithWebUI(
0 commit comments