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

Fixed bug in nextcloud auth #94

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Fixed bug in nextcloud auth #94

merged 1 commit into from
Sep 24, 2024

Conversation

Dacid99
Copy link
Contributor

@Dacid99 Dacid99 commented Sep 23, 2024

The issue was that the browser intent runs on its own thread and so the poll() method is called without waiting for the browser activity to finish. So as the token is not authenticated yet, this leads to the 404. I moved this call to poll() to a method that is called when the app resumes after the browser is finished.
All my tests work now, so this resolves #49

@XilinJia
Copy link
Owner

Thanks. Will merge shortly.

@Dacid99
Copy link
Contributor Author

Dacid99 commented Sep 24, 2024

I wouldnt know how to resolve this, there is no develop branch that i can see

@XilinJia
Copy link
Owner

I wouldnt know how to resolve this, there is no develop branch that i can see

Sorry, that's not an issue. Looks like some snyk checks are not necessary.

@Dacid99
Copy link
Contributor Author

Dacid99 commented Sep 24, 2024

Perfect, thanks

@XilinJia XilinJia merged commit d84dbeb into XilinJia:main Sep 24, 2024
5 of 6 checks passed
@XilinJia
Copy link
Owner

@Dacid99 merge successful, but for some reason you are not added by Github to the contributors. I will sort it out.

@XilinJia
Copy link
Owner

I forcibly added you via a commit message "Co-authored-by: PR Author Name [email protected]". I'm not sure about the reason why you were not automatically added by Github, does it have to do with your email configuration at github?

@Dacid99
Copy link
Contributor Author

Dacid99 commented Sep 25, 2024

Ill look into it, thanks a lot for sorting this out, I probably wouldnt even have noticed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sync with Nextcloud Gpoddersync fails
2 participants