diff --git a/api/src/app.py b/api/src/app.py index 45300f4..998d24e 100644 --- a/api/src/app.py +++ b/api/src/app.py @@ -125,5 +125,6 @@ def custom_expired_token_response(jwt_header, jwt_payload): # start api server if __name__ == "__main__": - app.run(debug=isDev, host=config['HOST'], port=int(config['PORT'])) + # app.run(debug=isDev, host=config['HOST'], port=int(config['PORT'])) + app.run(debug=True, host=config['HOST'], port=int(config['PORT'])) \ No newline at end of file diff --git a/api/src/route/api/glob/auth/callback_POST.py b/api/src/route/api/glob/auth/callback_POST.py index 0beeec6..a245e2f 100644 --- a/api/src/route/api/glob/auth/callback_POST.py +++ b/api/src/route/api/glob/auth/callback_POST.py @@ -56,6 +56,7 @@ def main(): # cred = request.json['credential'] + print(cred) if cred is not None: try: @@ -74,7 +75,9 @@ def main(): if cred is not None: DMS = decrypted_message.split("_") - + print(decrypted_message) + print(DMS) + if len(DMS) != 3: return jsonify({ 'success': False,