|
@@ -87,8 +87,8 @@ class loginHandleView(TemplateView):
|
|
|
logger.info(scope)
|
|
|
logger.info(redirect_uri)
|
|
|
logger.info(request_dict)
|
|
|
- print(user)
|
|
|
- print(pwd)
|
|
|
+ if client_id != 'azalexaclient' or response_type != 'code' or scope != 'profile':
|
|
|
+ return response.json(10, res={'msg': 'error'}, extra={'msg': 'message wrong'})
|
|
|
auth_request_url = '{SERVER_PREFIX}/oalexa/auth'. \
|
|
|
format(SERVER_PREFIX=SERVER_PREFIX)
|
|
|
print(auth_request_url)
|