symfony bypasses your filter
Hi. I have a working project with symfony 1.4.1. I installed your plugin, created a new app/module and in the default action, I print a 'Hello world!'. The plugin was activated and I've put the oauth.yml file in the config folder inside the module directory. In the browser I can see the 'hello world!' message. It's seems that the filter is bypassed completely. What's wrong?
I found a temporally solution.
In the filters.yml of the module you want to secure in your application you can add a oauth_filter:
----- Start of filters.yml ----- rendering: ~
oauth_filter: class: sfOauthFilter
security: ~
cache: ~ execution: ~ ----- End of filters.yml -----
But I would have a working oauth.yml file. If someone founds a solution, please post it!. May be I'm missing some step in the README file.
Thank you. now It's working.
I am really sorry, I did find a time for answer to you. Yes nothingbuttumblewees, I forgive to precise that you have to add the filter in the oauth app
In my project my filters.yml in my oauth app folder :
rendering: ~ oauth: class: sfOauthFilter param: type: oauth security: ~ cache: ~ execution: ~
I did not remember why I added a type.
Moreover I no longer work on the project using this plugin so I do not have time for improve it