0

I can build Facebook login with Python Social Auth. But in order to access full content of the site I want users to be authorised first. Would it be possible to get guidelines how such solution should be build?

baltasvejas
  • 1,698
  • 2
  • 17
  • 18
  • can you clarify your question? I mean, if you can do authentication, you can find out whether users are authenticated or not. So you can do anything you want on your page, e.g. using a simple "if authenticated". So it's not clear what your problem really is. – Nicolas78 Jul 07 '14 at 18:47
  • Let's say we are running public speaking club and we have our site. Users can be authenticated with facebook for example. But nether-the-less I don't know if those users are members or just guests. I want to verify if he/she is our public speaking club member and only in that case I want to authorise that user for viewing full site content. Hope it helps. – baltasvejas Jul 07 '14 at 19:07
  • so you have an "offline" list of members and need to check their names against their facebook names? – Nicolas78 Jul 07 '14 at 22:53
  • Yes. I have offline list of members. How to check those names is probably another question. The main question here is that even some users are authenticated those still need to be additionally authorized. – baltasvejas Jul 08 '14 at 06:14

1 Answers1

0

You can still use the @login_required decorator