BlitzKraft / saythanks.io

Spreading Thankfulness in Open Source.
https://saythanks.io
1.25k stars 154 forks source link

Auth0 key is expired #264

Open nu11pointer opened 9 months ago

nu11pointer commented 9 months ago

As described in this issue by the project author, when the Auth0 key is expired, we should expect an exception from the website.

I'm getting that exception right now!

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2091, in __call__
    return self.wsgi_app(environ, start_response)
  File "/usr/local/lib/python3.6/site-packages/whitenoise/base.py", line 85, in __call__
    return self.application(environ, start_response)
  File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2076, in wsgi_app
    response = self.handle_exception(e)
  File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2073, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1518, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/home/admin/saythanks.io/saythanks/core.py", line 342, in callback_handling
    nickname = user_detail_info['nickname']
KeyError: 'nickname'

Can you please resolve this issue? I would like to test the saythanks platform.

Thanks.