I have a facebook app i m working on.
Only at the IndexController I m using CanvasAuthorize to authorize against facebook, and i want to avoid it from every other pages, due to redirects.
Here is what happens: I have IndexController and it has an Index action which I decorate with [CanvasAuthorize] . Then store the facebook user along with token in the session. So in the other pages i wont need Canvas authorize.
When I m debugging with Visual Studio, if i access a page other then Index, it doesnt redirect me to the facebook app. But it show localhost:port . how can i enforce that, anyone tries to see any page will be redirected to facebook.com/appname.
Thanks.