Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Cannot log in with default workflow #363

@niccokunzmann

Description

@niccokunzmann

⚠️ Please try to fill in every blank. Keep the information clear and concise.

What should happen:

__

I would like to log into https://pix.toot.wales.
So, I add a new account
Then I would like to choose "manual authentication" to copy the code
Well actually, I would like my browser to redirect to tootle but it does not!

What happened instead:

__

I do this:
image
image
-> next -> Firefox opens
image
Now, I see this still after pressing
image

I click on manual authentication,
image
-> next
I see the authorize page again
Now, I see this:
image

I could log in with mastodon with manual authentication but not with the preferred process.

How to reproduce:

see above

  1. __

Screenshots (if applicable):

__

Build context:

  • Distro: Xubuntu 22
  • App version: __

image

  • Build type: Flatpak / Built from source / Built by a third-party maintainer

Logs:

(Terminal logs are often invaluable. If you can, launch the app from terminal with com.github.bleakgrey.tootle and paste the output here)

$ tootle
** Message: 09:00:06.277: Build.vala:32: Tootle 1.0.0-alpha2
** Message: 09:00:06.277: Build.vala:33: Running on: Ubuntu 22.04.1 LTS (Jammy Jellyfish)
** Message: 09:00:06.277: Build.vala:34: Build prefix: "/usr"
** Message: 09:00:06.652: Accounts.vala:134: Loaded 1 accounts
** Message: 09:00:06.652: Accounts.vala:18: Switching to @niccokunzmann@toot.wales...
** Message: 09:00:06.682: Application.vala:152: Presenting MainWindow

** (tootle:13175): CRITICAL **: 09:00:06.770: tootle_instance_account_get_stream_url: assertion 'self != NULL' failed

** (tootle:13175): WARNING **: 09:00:07.109: Request.vala:94: No account was specified or found for GET: /api/v1/timelines/home?limit=12

** (tootle:13175): WARNING **: 09:00:07.109: Request.vala:94: No account was specified or found for GET: /api/v1/notifications?limit=12

** (tootle:13175): WARNING **: 09:00:07.109: Request.vala:94: No account was specified or found for GET: /api/v1/timelines/public?local=true&limit=12

** (tootle:13175): WARNING **: 09:00:07.109: Request.vala:94: No account was specified or found for GET: /api/v1/timelines/public?limit=12
** Message: 09:00:07.466: Accounts.vala:25: OK: Token is valid
** Message: 09:00:08.143: Accounts.vala:108: Saved accounts
** Message: 09:00:08.163: Accounts.vala:108: Saved accounts
** Message: 09:00:08.174: Accounts.vala:108: Saved accounts
** Message: 09:00:08.181: Accounts.vala:108: Saved accounts

** (tootle:13175): CRITICAL **: 09:00:08.181: file ../../src/API/Entity.vala: line 115: uncaught error: Unknown notification type: poll (tootle-oopsie-quark, 2)

(tootle:13175): Json-WARNING **: 09:00:08.181: Failed to deserialize "kind" property of type "(null)" for an object of type "TootleAPINotification"
** Message: 09:00:08.186: Accounts.vala:108: Saved accounts
** Message: 09:00:08.191: Accounts.vala:108: Saved accounts
** Message: 09:00:08.196: Accounts.vala:108: Saved accounts
** Message: 09:00:08.201: Accounts.vala:108: Saved accounts
** Message: 09:00:08.206: Accounts.vala:108: Saved accounts
** Message: 09:00:08.212: Accounts.vala:108: Saved accounts
** Message: 09:00:08.217: Accounts.vala:108: Saved accounts
** Message: 09:00:08.222: Accounts.vala:108: Saved accounts
** Message: 09:00:12.631: NewAccount.vala:76: Reset state
** Message: 09:00:20.303: NewAccount.vala:116: Checking instance URL
** Message: 09:00:20.303: NewAccount.vala:131: Registering client
** Message: 09:00:20.340: NewAccount.vala:58: Successfully associated MIME type for automatic authorization

** (tootle:13175): CRITICAL **: 09:00:20.340: string_to_string: assertion 'self != NULL' failed
** Message: 09:00:20.776: NewAccount.vala:144: OK: Instance registered client
** Message: 09:00:20.780: NewAccount.vala:151: Opening permission request page
** Message: 09:00:20.780: Desktop.vala:7: Opening URI: https://pix.toot.wales/oauth/authorize?scope=read%20write%20follow&response_type=code&redirect_uri=tootle://auth_code&client_id=98
** Message: 09:00:24.808: Application.vala:152: Presenting MainWindow
** Message: 09:00:36.804: NewAccount.vala:76: Reset state
** Message: 09:00:38.777: NewAccount.vala:116: Checking instance URL
** Message: 09:00:38.777: NewAccount.vala:131: Registering client

** (tootle:13175): WARNING **: 09:00:38.777: NewAccount.vala:62: Using manual auth method

** (tootle:13175): CRITICAL **: 09:00:38.777: string_to_string: assertion 'self != NULL' failed
** Message: 09:00:39.106: NewAccount.vala:144: OK: Instance registered client
** Message: 09:00:39.109: NewAccount.vala:151: Opening permission request page
** Message: 09:00:39.109: Desktop.vala:7: Opening URI: https://pix.toot.wales/oauth/authorize?scope=read%20write%20follow&response_type=code&redirect_uri=urn:ietf:wg:oauth:2.0:oob&client_id=99


Additional info (if needed):

__

I also tried adding x-scheme-handler/urn to the desktop file but that just opens tootle and nothing else really happens - no login

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions