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

OAuth to Pleroma doesn't work due to missing parameters #27

Open
rjp opened this issue Jan 12, 2023 · 2 comments
Open

OAuth to Pleroma doesn't work due to missing parameters #27

rjp opened this issue Jan 12, 2023 · 2 comments

Comments

@rjp
Copy link
Contributor

rjp commented Jan 12, 2023

Calling madonctl oauth2 get-url -i pleroma doesn't work because:

Error: app registration failed: API query (v1/apps) failed: bad server status code (400): Missing field: client_name. Missing field: redirect_uris.

Which is down to it being a POST request with the parameters in the URL, not in the body. But this is easy to fix and means madonctl can now get-url and then code to get an access_token from Pleroma, Mastodon, and GotoSocial (except GTS needs the other fix for non-int64 IDs first.)

@lilmike
Copy link

lilmike commented Jun 27, 2023

Any news on this?

@rjp
Copy link
Contributor Author

rjp commented Jun 27, 2023

Oh, bother, yes, this was fixed in madon a while back and madonctl will have inherited that. Just tested it and it's working fine on my Akkoma instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants