Skip to content

WordPress-Discord auth can fall out of sync #686

@Genyus

Description

@Genyus

Description

It's possible for the login state between WordPress and Discord to fall out of sync. It appears to be when the WordPress cookie expires, but the Discord one is still valid.

Steps To Reproduce

  1. Navigate to https://hq.frocentric.io
  2. Log in
  3. Wait until WP cookie expires
  4. Click 'Log in'

Expected behaviour

I am navigated to the login form, where I am logged out.

Actual behaviour

I am navigated to Discourse app, where I am already logged in.

Acceptance Criteria

Scenario: User login redirected correctly

Given that I am on site page
And I click the login link
And I'm redirected to the sign-in page
When I enter my user name and password correctly
And click ‘Sign In’
Then I am redirected to page I started on

Definition of "Done"

  • UI tested on major platforms/browsers
  • Accessibility review completed
  • Pull request merged

Environment Details

  • OS: [e.g. iOS, Android, Windows 10, macOS Catalina]
  • Mobile Device: [if applicable, e.g. iPhone 11 Pro, Samsung Galaxy S10]
  • Browser: [e.g. Chrome, Safari]
  • Version: [if known, e.g. 22]

Additional context

Add screenshots or other resources to help explain the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions