Hello, I've been trying to find the best way of implementing Steam OpenID but without editing a handful of files a bit blindly I figured I should ask first what's my best route to take. I saw in the docs that since it uses Python Social Auth which already has Steam it shouldn't be too difficult... yet I'm still clueless as to how to add it when the only other options are OAuth and I'm trying to add OpenID.
I was hoping the SSO would be a quick fix but have a feeling that might be only for Django SSO? I get an error,
[2019-09-10 05:53:39,120] ERROR Internal Server Error: /sso/client/
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.7/site-packages/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/django/views/generic/base.py", line 97, in dispatch
return handler(request, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/misago/sso/client.py", line 31, in get
return super().get(request)
File "/usr/local/lib/python3.7/site-packages/simple_sso/sso_client/client.py", line 31, in get
request_token = self.client.get_request_token(redirect_to)
File "/usr/local/lib/python3.7/site-packages/simple_sso/sso_client/client.py", line 98, in get_request_token
return self.consumer.consume(url, {'redirect_to': redirect_to})['request_token']
File "/usr/local/lib/python3.7/site-packages/webservices/models.py", line 56, in consume
return self.handle_response(body, max_age)
File "/usr/local/lib/python3.7/site-packages/webservices/models.py", line 59, in handle_response
return self.signer.loads(body, max_age=max_age)
File "/usr/local/lib/python3.7/site-packages/itsdangerous/timed.py", line 142, in loads
raise last_exception
File "/usr/local/lib/python3.7/site-packages/itsdangerous/timed.py", line 130, in loads
base64d, timestamp = signer.unsign(s, max_age, return_timestamp=True)
File "/usr/local/lib/python3.7/site-packages/itsdangerous/timed.py", line 79, in unsign
text_type(sig_error), payload=value, date_signed=timestamp
itsdangerous.exc.BadTimeSignature: Signature b'com/subscriber_agreement/" target="_blank">Steam Subscriber Agreement</a>\r\n\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t</span>\r\n\t\t</div>\r\n\t\t\t\t\t<div class="responsive_optin_link">\r\n\t\t\t\t<div class="btn_medium btnv6_grey_black" onclick="Responsive_RequestMobileView()">\r\n\t\t\t\t\t<span>View mobile website</span>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t</div>\r\n\t\r\n\t</div>\t<!-- responsive_page_content -->\r\n\r\n</div>\t<!-- responsive_page_frame -->\r\n</body>\r\n</html>' does not match
Also, I tried searching for "Steam" and didn't find anything and also "OpenID" and still nothing so here I am hoping for some more guidance. Otherwise I was blindly trying to find a way to edit the pre-existing OAuth entries to allow for OpenID... but wasn't really getting anywhere.
Thanks!