Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Failed to get authorize url" when I'm trying to add / log in with my Misskey instance #1325

Closed
yitsushi opened this issue Mar 25, 2020 · 0 comments · Fixed by h3poteto/megalodon#307
Labels
bug Something isn't working

Comments

@yitsushi
Copy link

yitsushi commented Mar 25, 2020

Description

When I try to add my Misskey instance, Search is able to find the instance but when I click on the Login button it pops up an error message "Failed to get authorize url".

The Misskey App is created in the database, so it was able to create the app and get the secret for it:

misskey=> select "id", "name", "createdAt", "permission", "description", "userId", "callbackUrl" from app where name = 'Whalebird';
-[ RECORD 1 ]----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
id          | 85aylgrfqj
name        | Whalebird
createdAt   | 2020-03-25 13:59:54.651+00
permission  | {read:account,write:account,read:blocks,write:blocks,read:drive,write:drive,read:favorites,write:favorites,read:following,write:following,read:mutes,write:mutes,write:notes,read:notifications,write:notifications,read:reactions,write:reactions,write:votes}
description |
userId      |
callbackUrl | https://slippy.xyz

In access.log I see:

  1. It hits GET /api/v1/instance and gets 404
  2. It hits POST /api/meta and gets 200
  3. It hits POST /api/app/create and gets 200 (user agent: axios/0.19.1)

After that I can't see any relevant requests.

How To Reproduce

  1. Add Instance button
  2. Fill in slippy.xyz
  3. Press Search
  4. Press Login

Your Environment

  • OS: Windows (I tried the MacOS version too, same results)
  • Whalebird Version: 4.0.0
  • Instance: slippy.xyz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants