[Users] [Bug 4743] New: oauth2: Adjust handling of built-in client_id and client_secret

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Jan 17 15:04:53 UTC 2024


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4743

            Bug ID: 4743
           Summary: oauth2: Adjust handling of built-in client_id and
                    client_secret
           Product: Claws Mail (GTK 2)
           Version: GIT
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Other
          Assignee: users at lists.claws-mail.org
          Reporter: olaf at aepfle.de

Created attachment 2410
  -->
https://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=2410&action=edit
gtk2-oauth2-Adjust-handling-of-built-in-client_id-and-cli.patch

The function gtk_entry_get_text returns an empty string for an empty text
field. Instead of adjusting callers, change oauth2_authorisation_url to handle
an empty client_id as "no client_id provided".

The same change is required for oauth2_obtain_tokens and
oauth2_use_refresh_token. Most likely the settings have also an empty string
stored, as opposed to a NULL pointer.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list