Questions tagged [authomatic]

5 questions
2
votes
1 answer

How can I see if a user is logged in with Authomatic?

I'm writing a small Flask app and I'd like to use Authomatic to handle OAuth and OpenID authentication. Is there a way to decorate a function to check if a user is logged in or not, as it would be done with Flask-Login? Or should I use both?
ruipacheco
  • 15,025
  • 19
  • 82
  • 138
1
vote
1 answer

Azure AD Oauth2 gives error after authorization request

I'm trying to do Oauth2 login with Azure AD. I've tried these two…
new name
  • 15,861
  • 19
  • 68
  • 114
1
vote
3 answers

authomatic: REQUEST is deprecated / The returned state doesn't match with the stored state

I'm facing a blocking problem: I'm using authomatic 0.1.0 and in adapters.py there's a property params which is declared like this: @property def params(self): return dict(self.request.REQUEST) If I let it like that, I get this blocking…
Olivier Pons
  • 15,363
  • 26
  • 117
  • 213
0
votes
0 answers

Can not sign up using social sign in

I'm getting an error when I try to use social sign-up/sign-in on Facebook. I'm using Authomatic and my site uses the django framework. I have previously been successful in doing this with Facebook on websites I've worked on. the only difference I…
Nkosana
  • 11
  • 3
0
votes
0 answers

Testing Facebook app from Localhost

I can't test my facebook app from my local computer. I have tried: Website url: http://localhost:8000 Domain: localhost Call back URl: http://localhost/login I am using the authomatic python library. The result object from result =…
orbital
  • 943
  • 3
  • 16
  • 28