Skip to content

Signout federated user permission dialog #4087

@milannikolic1

Description

@milannikolic1

Describe the bug

When calling the signOut method in Amplify Auth, a system permission dialog appears. When federated user is signedin

Expected behavior:
No permission dialog should appear during sign-out.

Actual behavior:
A permission dialog is unexpectedly triggered when signing out.

Steps to reproduce:

User is signed in.

Call Amplify.Auth.signOut().

Observe that a permission dialog appears.

This issue prevents a smooth sign-out experience and may confuse users since no new permissions should be requested at this stage.

Image

Steps To Reproduce

Steps to reproduce the behavior:
1. let signInResult = try await Amplify.Auth.signInWithWebUI(for: .google)
2. after succesfully sign in 
3. await Amplify.Auth.SignOut()
4. permission dialog is shown (not needed)

Expected behavior

The expected behavior is that signing out should not trigger any permission dialogs

Amplify Framework Version

2.50.0

Amplify Categories

Auth

Dependency manager

Swift PM

Swift version

5

CLI version

newest

Xcode version

Version 26.0.1 (17A400)

Relevant log output

<details>
<summary>Log Messages</summary>


INSERT LOG MESSAGES HERE

</details>

Is this a regression?

No

Regression additional context

No response

Platforms

iOS

OS Version

all

Device

iphone 16

Specific to simulators

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions