linkwarden / browser-extension

Browser extension for Linkwarden
GNU Affero General Public License v3.0
146 stars 12 forks source link

Endpoint URL #28

Closed esmoyer closed 9 months ago

esmoyer commented 9 months ago

Hi, is there a specific endpoint this extension reaches out to aside form https://example.mydomain.com? Like is it /api/v2/..... or something like that? I am wanting to try and restrict firewall traffic. Thanks!

crkos commented 9 months ago

The specific endpoint are:

${config.baseUrl}/api/auth/callback/credentials ${config.baseUrl}/login ${config.baseUrl}/api/auth/signout ${baseUrl}/api/collections ${baseUrl}/api/links ${baseUrl}/api/tags

I think thats all that is used, we are just using the base url that you provide

crkos commented 9 months ago

also these ones: ${url}/api/auth/csrf ${url}/api/auth/session

esmoyer commented 9 months ago

Excellent...thank you!