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

add linkwarden integration #2356

Merged
merged 4 commits into from
Feb 12, 2024
Merged

add linkwarden integration #2356

merged 4 commits into from
Feb 12, 2024

Conversation

knrdl
Copy link
Contributor

@knrdl knrdl commented Feb 10, 2024

Do you follow the guidelines?


request.Header.Set("Content-Type", "application/json")
request.Header.Set("User-Agent", "Miniflux/"+version.Version)
request.AddCookie(&http.Cookie{Name: "__Secure-next-auth.session-token", Value: c.apiKey})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was not able to make it work with this cookie when using the linkwarden Docker image. However, next-auth.session-token works for me. Is the cookie name different when using HTTP or HTTPS?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested with HTTPS, so that sounds reasonable

@fguillot fguillot merged commit 1d90ce9 into miniflux:main Feb 12, 2024
15 checks passed
@knrdl knrdl deleted the linkwarden branch February 12, 2024 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants