Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Malformed app request on qoto.org #237

Open
alicerunsonfedora opened this issue Jan 7, 2021 · 3 comments
Open

Malformed app request on qoto.org #237

alicerunsonfedora opened this issue Jan 7, 2021 · 3 comments
Labels
bug Something isn't working held back Held back until out of maintenance mode

Comments

@alicerunsonfedora
Copy link
Member

alicerunsonfedora commented Jan 7, 2021

Describe the bug
A clear and concise description of what the bug is.

Hyperspace appears to be unable to connect to qoto.org.

To Reproduce
Steps to reproduce the behavior:

  1. Type [email protected] into the text field.
  2. Press Return or click "Next".
  3. See the request failure error.

Expected behavior
A clear and concise description of what you expected to happen.

The user should be able to continue into the login process.

Screenshots
If applicable, add screenshots to help explain your problem.

App Information (please complete the following information):

  • OS: Debian
  • Browser [e.g. chrome, safari] (if applicable): n/a
  • Version 1.1.4

Additional context
Add any other context about the problem here.

Per the thread on the general chat (Matrix-side) with walkmanyi:

Marquis Kurt: I spoke to qoto.org admin and we concluded that this probably is indeed a client-side bug. qoto.org behaves identically to e.g., mastodon.social according to the spec you posted above. See below:

Request to mastodon.social:

$ curl -X POST -d '{"client_name": "Hyperspace", "redirect_uris": "urn:ietf:wg:oauth:2.0:oob"}' -H 'Content-Type: application/json' "https://mastodon.social/api/v1/apps"
{"id":"801469","name":"Hyperspace","website":null,"redirect_uri":"urn:ietf:wg:oauth:2.0:oob","client_id":"CMQfDcPTHBChVV7Xxzy11fPc6M4Fp3iMKPsP12FFE4o","client_secret":"XncANW8WefPTqwr4rvTjFuQJc3pXhljqogivro3s-gw","vapid_key":"BCk-QqERU0q-CfYZjcuB6lnyyOYfJ2AifKqfeGIm7Z-HiTU5T9eTG5GxVA0_OH5mMlI4UkkDTpaZwozy0TzdZ2M="}

Request to qoto.org:

$ curl -X POST -d '{"client_name": "Hyperspace", "redirect_uris": "urn:ietf:wg:oauth:2.0:oob"}' -H 'Content-Type: application/json' "https://qoto.org/api/v1/apps"
{"id":"8681","name":"Hyperspace","website":null,"redirect_uri":"urn:ietf:wg:oauth:2.0:oob","client_id":"pM9nqNfZ8YX9nfgNGIA5l72qp_WZ_VDFiUbEia0xiic","client_secret":"QiubwkLpK6ewVOr7PX2RNVhGCIjScA--d5t1kcKXn3w","vapid_key":"BPVYDsCiOsPbH2YqPelZzlcYYiXfzE3ING8WYq0ZGYL5KMplYRO9605LfLOfrxjwKUmtyLyvhummO97ce0sgduE="}
@alicerunsonfedora alicerunsonfedora added the bug Something isn't working label Jan 7, 2021
@alicerunsonfedora
Copy link
Member Author

Notes: This may be an upstream library issue with Megalodon.

Checklist

  • Check if the version we have is out of date.
  • Check if this issue is had been reported on Megalodon's repo.
  • Check that our login methods are correct or if they need modifying.

@seachdamh
Copy link

seachdamh commented Feb 16, 2021

Any progress? On instance 101010.pl is same bug it look like.

`curl -X POST -d '{"client_name": "Hyperspace", "redirect_uris": "urn:ietf:wg:oauth:2.0:oob"}' -H 'Content-Type: application/json' "https://101010.pl/api/v1/apps"

{"id":"1741","name":"Hyperspace","website":null,"redirect_uri":"urn:ietf:wg:oauth:2.0:oob","client_id":"GKLR24yRkDKO0zvvIQTE_7ImD-GGXVXhHSZ5SSDj4uo","client_secret":"jWtsKzFePQ7SAL4QFLQ7aYxg_GOq6WB1PXhTd1-jaPI","vapid_key":"BPsTKOQSzT0VQkmndbn1xhcUuKOgXdEt95MeeWgUYeK2Gxlc9CRsDQ-ofyGWcdisj4AOlz1NQ_HdNJwEru5Yadw="}`

@alicerunsonfedora
Copy link
Member Author

There has been no progress made. See #232 .

@alicerunsonfedora alicerunsonfedora added the held back Held back until out of maintenance mode label Feb 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working held back Held back until out of maintenance mode
Projects
None yet
Development

No branches or pull requests

2 participants