Code Monkey home page Code Monkey logo

Comments (3)

rcoup avatar rcoup commented on August 28, 2024

URLs I see in Chrome:

  1. GET https://id.koordinates.com/o/authorize/?scope=read&response_type=code&response_mode=query&client_id=DDDD&code_challenge=AAAA&state=BBBB&code_challenge_method=S256&redirect_uri=http://127.0.0.1:8989/&code_challenge=CCCC&code_challenge_method=S256
    → 200; Authorise screen.

  2. Click Cancel: POST https://id.koordinates.com/o/authorize/?scope=read&response_type=code&response_mode=query&client_id=DDDD&code_challenge=AAAA&state=BBBB&code_challenge_method=S256&redirect_uri=http://127.0.0.1:8989/&code_challenge=CCCC&code_challenge_method=S256
    → 302 → http://127.0.0.1:8989/?error=access_denied&state=BBBB

  3. GET http://127.0.0.1:8989/?error=access_denied&state=BBBB
    → 302 → https://<internal-host>/o/authorize/qgis/

  4. GET https://<internal-host>/o/authorize/qgis/
    → 400; "Success screen"

  • the host the QGIS plugin is redirecting to in (3) needs to be id.koordinates.com as well.
  • adding ?error=access_denied to /o/authorize/qgis/ in (3) will mean in (4) we can display different template text. I will organise that.

from koordinates-qgis-plugin.

nyalldawson avatar nyalldawson commented on August 28, 2024

Thanks @rcoup -- I've got a fix all ready for this, I just need the new "cancelled" page url 👍

from koordinates-qgis-plugin.

hamishcampbell avatar hamishcampbell commented on August 28, 2024

@nyalldawson the cancellation page URL will be https://id.koordinates.com/o/authorize/qgis/cancelled/ - that will be live shortly.

from koordinates-qgis-plugin.

Related Issues (20)

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.