Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v4.x] Can't login via Nextcloud Bookmarks v13.1.2 #1466

Open
1 task
SuperSandro2000 opened this issue Dec 11, 2023 · 15 comments
Open
1 task

[v4.x] Can't login via Nextcloud Bookmarks v13.1.2 #1466

SuperSandro2000 opened this issue Dec 11, 2023 · 15 comments
Labels
Projects

Comments

@SuperSandro2000
Copy link

SuperSandro2000 commented Dec 11, 2023

Which version of floccus are you using?

4.19.1

Sync method

Nextcloud Bookmarks

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Chrome 120.0.6099.71

Which version of Nextcloud Bookmarks are you using? (if relevant)

13.1.1

Which version of Nextcloud? (if relevant)

initially 27.1.4, then 28.0.0

What kind of WebDAV server are you using? (if relevant)

No response

Describe the Bug

When trying to log in via nextcloud I get the following error:
image

Also the following is logged into console:

Access to fetch at 'https://nextcloud.example.com//index.php/login/v2' from origin 'chrome-extension://fnaicdffflnofjppbagibeoednhnbjhg' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Expected Behavior

The nextcloud login window or something should show up.

To Reproduce

Try to log in via Nextcloud Bookmarks.

Debug log provided

  • I have provided a debug log file
@github-actions github-actions bot added this to Backlog in Floccus Dec 11, 2023
Copy link

Hello 👋

Thank you for taking the time to open this issue with floccus. I know it's frustrating when software
causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at
and if possible solved.
I'm Marcel and I created floccus and have been maintaining it ever since.
I currently work for Nextcloud which leaves me with less time for side projects like this one
than I used to have.
I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it.
Until then, please be patient.
Note also that GitHub is a place where people meet to make software better together. Nobody here is under any obligation
to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can
collaborate to make this software better. For everyone.
Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge
and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and
try to fix the odd bug yourself. Everyone will be thankful for extra helping hands!
One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the forum,
to twitter or somewhere else. But this is a technical issue tracker, so please make sure to
focus on the tech and keep your opinions to yourself.

I look forward to working with you on this issue
Cheers 💙

@marcelklehr
Copy link
Member

marcelklehr commented Dec 15, 2023

HI @SuperSandro2000

are you sure about the floccus version and the bookmarks app version? Both versions are quite old have been around for some time and shouldn't cease to work suddenly. It's more likely you got one of the recent updates to either, I think.

@marcelklehr marcelklehr moved this from Backlog to Triaging in Floccus Dec 15, 2023
@SuperSandro2000
Copy link
Author

are you sure about the floccus version and the bookmarks app version?

Yes, unless I am mixing things up.

The Floccus browser extension displays the following version in the bottom left

image

which matches the version available on the chrome webstore https://chromewebstore.google.com/detail/floccus-bookmarks-sync/fnaicdffflnofjppbagibeoednhnbjhg

The bookmarks app got an update in the meanwhile and I also updated to nextcloud 28.

image

@marcelklehr
Copy link
Member

Mh. I cannot reproduce this with the following versions:

floccus 4.19.1
Sync method: Nextcloud Bookmarks
Chrome 120.0.6099.71
13.1.2
Nextcloud 26.0.9

But the nextcloud version shouldn't matter here. Are you sure the URL is correct?

@SuperSandro2000
Copy link
Author

Are you sure the URL is correct?

Yes, I can see the requests in my nginx logs and there are no extra redirects except from http to https. If I paste the URL from the form into my browser url bar I am straight in my nextcloud.

I've just done some additional testing and it seems I also had an with nextcloud 28 incompatible app installed. My logging tab is currently not working, so I didn't notice it yet.

But even after fixing that I still can't log into floccus in chrome but in firefox with version 5.0.3 the log in succeeds but with a pop up that flocus wants to read all websites.

The error printed in the console in chrome is still the same as above. Maybe the update to 5.0.X in chrome will fix that.

Edit: I found a fix. If I add my nextcloud domain to site access under extension settings, things start to work. I think floccus should ask for the specific domain I am trying to log in in chrome, too.

@marcelklehr
Copy link
Member

marcelklehr commented Dec 15, 2023

If I add my nextcloud domain to site access under extension settings, things start to work.

Mmh, it's just, the floccus version you noted is out since July or even before that. I wonder what changed that it doesn't work anymore now?

it seems I also had an with nextcloud 28 incompatible app installed

Which app was that?

@SuperSandro2000
Copy link
Author

I wonder what changed that it doesn't work anymore now?

Could be chrome updates which tighten security or so. Or maybe the nextcloud update. I found one entry in the changelog which reads rather promising nextcloud/server#40737

Which app was that?

https://apps.nextcloud.com/apps/metadata

@marcelklehr
Copy link
Member

Could be chrome updates which tighten security or so.

I wasn't able to reproduce with your chrome version though.

Or maybe the nextcloud update.

Did you update to Nextcloud 28 already? the ticket says you're on 27

@SuperSandro2000
Copy link
Author

Did you update to Nextcloud 28 already? the ticket says you're on 27

I am right now on 28 but initially I discovered this issue on 27.

@pbtoubol

This comment was marked as off-topic.

@marcelklehr

This comment was marked as off-topic.

@pbtoubol

This comment was marked as off-topic.

@marcelklehr

This comment was marked as off-topic.

@SuperSandro2000
Copy link
Author

Do you know when the chrome extension will be updated?

@marcelklehr
Copy link
Member

@SuperSandro2000 Do you know when the chrome extension will be updated?

soon-ish, I have one more ticket on the list that I would like to fix before that

@marcelklehr marcelklehr changed the title Can't login via Nextcloud Bookmarks [v4.x] Can't login via Nextcloud Bookmarks v13.1.2 Dec 16, 2023
@marcelklehr marcelklehr moved this from Triaging to On hold in Floccus Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: On hold
Floccus
On hold
Development

No branches or pull requests

3 participants