Skip to content

Detect client timezone in browser doesn't fire with OAUTH2 authorization and oauth_login_redirect = true #9747

Open
@dutty5

Description

@dutty5

Prerequisites

  • I have searched for duplicate or closed issues
  • I can recreate the issue with all plugins disabled

Describe the issue

Hi,

Client's timezone in the browsers is not auto detected (and the fallback to the server timezone occurs) in case oauth2 authorization is configured with the setting oauth_login_redirect set to true.

The reason is probably due to the fact that currently the auto detection of the timezone occurs in the login form:

case 'login':

In case of oauth authorization set and with the oauth auto redirection configured the login form is bypassed.

What browser(s) are you seeing the problem on?

Chrome, Edge, Firefox, Safari

What version of PHP are you using?

v8.3

What version of Roundcube are you using?

v1.6.9

JavaScript errors

No response

PHP errors

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions