Giter Club home page Giter Club logo

singletouch's People

Contributors

lancejenkinza avatar

Watchers

 avatar  avatar

singletouch's Issues

keyerror: client_id

Hi,
I have been trying to get this python code to work but it end with keyerror: client_id

the error output is

`
127.0.0.1 - - [22/Sep/2020 23:24:09] "POST /authorize HTTP/1.1" 302 -
127.0.0.1 - - [22/Sep/2020 23:24:32] "GET /B2C_1_singletouch-callback?state=VqnA2HYfqTg273fkcngb8XdUvOW1sD&code=eyJraWQiOiJjcGltY29yZV8wOTI1MjAxNSIsInZlciI6IjEuMCIsInppcCI6IkRlZmxhdGUiLCJzZXIiOiIxLjAifQ..nOUsbmot7KHxGcGa.I0kI7Ppoku4Q5qllJYn2uxEDP3pd6MdlQoqLJq-UKdX6TaZDHz9792X3Z_kSCIxNq33sH0U6B1ncEXvOLJi_0EvbjyYroB_3FCcz4XNS0EE3vzh-ZaZkDTSzy4ZkYxfEdskGIlZpGSQ6aVLaLowVLUCP5ix9VokQDIM1OmPp_OFIwCz0UB0zvOKZLhDsSaCzBqZUiU5PiODZUytnWnyZgy2qZrD_PLgfrRf__FhfxGvV3UmIea1Doe5CKma8wHGjcOtTUrJOGYdTrlqmV7ujLM130sVCERdLD80zM-_34L3sId87j-VgwXwAWJAoV5RuNVHeFIaTy8_EgWx-Y9g3A1fnZIZR88RFfr2N9-ewPfoWji9aX-3CTmXET2YN9bnE47UvZ6L91euovDCYNf7rvJA2RC6eEcX3ICp8vVVgZ6ofwAjp9qf5Gbeohs_kCNUB8hrQdrwr_RjskufgNJnSlVx0hOR_xsV05GUW7cPbO_RKZSUyqWb6lGwueHZCgzshyrZB1qU9n9AwzuPAwRd2DxvD49CZdNImdebq8mcLMIeCkXX2OcGlgsGhOvWdU8LDiSfL4XNmakHVWYcBFFnj97Kv.-zyMR5RrQBNIRoorFE-ofg HTTP/1.1" 500 -
Traceback (most recent call last):
File "/home/peter/.local/lib/python3.6/site-packages/flask/app.py", line 2463, in call
return self.wsgi_app(environ, start_response)
File "/home/peter/.local/lib/python3.6/site-packages/flask/app.py", line 2449, in wsgi_app
response = self.handle_exception(e)
File "/home/peter/.local/lib/python3.6/site-packages/flask/app.py", line 1866, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/peter/.local/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/peter/.local/lib/python3.6/site-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/home/peter/.local/lib/python3.6/site-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/peter/.local/lib/python3.6/site-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/peter/.local/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/peter/.local/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/home/peter/.local/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functionsrule.endpoint
File "/mnt/d/workspace/singletouch/singletouch.py", line 64, in auth_callback
client_id = session.pop("client_id")
File "/home/peter/.local/lib/python3.6/site-packages/werkzeug/datastructures.py", line 269, in pop
rv = super(UpdateDictMixin, self).pop(key)
KeyError: 'client_id'
127.0.0.1 - - [22/Sep/2020 23:24:32] "GET /B2C_1_singletouch-callback?debugger=yes&cmd=resource&f=style.css HTTP/1.1" 200 -
127.0.0.1 - - [22/Sep/2020 23:24:33] "GET /B2C_1_singletouch-callback?debugger=yes&cmd=resource&f=jquery.js HTTP/1.1" 200 -
127.0.0.1 - - [22/Sep/2020 23:24:33] "GET /B2C_1_singletouch-callback?debugger=yes&cmd=resource&f=debugger.js HTTP/1.1" 200 -
127.0.0.1 - - [22/Sep/2020 23:24:33] "GET /B2C_1_singletouch-callback?debugger=yes&cmd=resource&f=ubuntu.ttf HTTP/1.1" 200 -
127.0.0.1 - - [22/Sep/2020 23:24:33] "GET /B2C_1_singletouch-callback?debugger=yes&cmd=resource&f=console.png HTTP/1.1" 200 -
127.0.0.1 - - [22/Sep/2020 23:24:34] "GET /B2C_1_singletouch-callback?debugger=yes&cmd=resource&f=console.png HTTP/1.1" 200 -

`

I get this error after entering the client_id and client_secret.

What am I doing wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.