YunoHost-Apps / wallabag_ynh

Wallabag v1 package for YunoHost
GNU Affero General Public License v3.0
5 stars 10 forks source link

Cannot access with external application #6

Closed sefsh closed 8 years ago

sefsh commented 10 years ago

Using the iOS app (assuming the same goes for the other apps) I cannot access my Wallabag content. This is because all apps resides behind YunoHost's SSO system. Exceptions for specific file paths in order to expose those ones to the world can be put in /etc/ssowat/conf.json like so

"skipped_urls": [ "/yunohost/api" ],

The problem is, I think, that the Wallabag API is reached on the root path ( /wallabag ), making it impossible to separate API calls from web access.

How to solve this issue?

Adding

"/wallabag",

to the skipped_urls list exposes the whole application and also breaks it away from the SSO system…

dana-ross commented 10 years ago

I'm experiencing this as well. I wonder if skipped_regex could be used to look for "?feed" in the url, but not sure if the query string is passed to the part of ssowat that evaluates regexes.

bachy commented 10 years ago

hello, i can't access to my wallabag content with "in the poche" (free android client from f-droid) neither i don't know the reason maybe it's linked to this issue (if not i can creat an other issue) i have no error message, contents just don't show up

ckiw commented 9 years ago

I get the problem too, the client (app) get redirected toward ssowat even if it's a route not protected in wallabag by credentials but with token, so the client get an error.

stevenroose commented 9 years ago

This should probably be solved by excluding the api endpoint from the ssowat config. I'm no nginx expert, but I think it can't be that hard if you have some experience with nginx...

beudbeud commented 8 years ago

i fix the problem with the last version you can try it yunohost app upgrade wallabag -u https://github.com/abeudin/wallabag_ynh.git