israx / hello-world

0 stars 0 forks source link

unable to signout from second app #22

Open israx opened 2 months ago

israx commented 2 months ago

Before opening, please confirm:

JavaScript Framework

Next.js

Amplify APIs

Authentication

Amplify Version

v6

Amplify Categories

auth

Backend

Amplify Gen 2 (Preview)

Environment information

``` # Put output below this line ```

Describe the bug

I'm using amplify v6 to authentication into 2 different subdomains. Both apps are able to authenticate as they share the same set of tokens. However, when I try to signOut from App 2 the app clears tokens but the cognito session is still active.

Expected behavior

being able to log out from app 2

Reproduction steps

  1. log in from subdomain 1
  2. redirect to subdomain 2
  3. logout from subdomain 2

Code Snippet

// Put your code below this line.

Log output

``` // Put your logs below this line ```

aws-exports.js

No response

Manual configuration

No response

Additional configuration

No response

Mobile Device

No response

Mobile Operating System

No response

Mobile Browser

No response

Mobile Browser Version

No response

Additional information and screenshots

No response