Jonathan Eggers
Forum Replies Created
-
Forum: Plugins
In reply to: [ActivityPub] Issues with .well-known on Hostinger/DreamhostWhen I reached out to hostinger support they told me that it would not work on the shared hosting plan that I was on. They don’t allow access to the well-known directory at all on any shared hosting subscription. The only option was to upgrade to a virtual dedicated host.
On other hosts, you could use a redirect plugin, but that only works if the well-known directory is accessible. Since hostinger blocks the well-known directory, you can’t use this method.
If you don’t want to use cloudflare, you would have to find some other service that intercepts and redirects traffic before it gets to the server. Maybe fastly or akamai?
Forum: Plugins
In reply to: [Enable Mastodon Apps] Error trying to log inDeleting the app and signing in again worked!
Forum: Plugins
In reply to: [Enable Mastodon Apps] Error trying to log inhttps://elk.zone/api/jseggers.com/oauth/https%3A%2F%2Felk.zone
The error message comes from the following URL: https://elk.zone/api/jseggers.com/oauth/https%3A%2F%2Felk.zone?code=e6c278ed02a91cf18ecc7c3e748eb76d0cdb5b4d
- This reply was modified 10 months, 3 weeks ago by Jonathan Eggers.
Forum: Plugins
In reply to: [Enable Mastodon Apps] Error trying to log inThe plugin is WPS Hide Login.
The first app I tried with was the official Mastodon app, which I later saw wasn’t listed as supported on the plugin page. Regardless of the app, if I had to sign in it would fail. Once I signed in and tried the login process again and went straight to the “authorize” page it worked.
The setting let me log in to elk and click the Authorize button, but then I got:
{“url”:”/api/jseggers.com/oauth/https%3A%2F%2Felk.zone?code=9a6720bfbf63bdf48ced9d4e31429fcacca8efb2″,”statusCode”:400,”statusMessage”:”Could not complete log in.”,”message”:”Could not complete log in.”,”stack”:””}
I get this same message each time I try to complete the authorization process. I have multiple authorization codes now for elk, but no token.
I appreciate all your help!
Forum: Plugins
In reply to: [Enable Mastodon Apps] Error trying to log inI was able to log in to https://pinafore.social/, but am not seeing any of my old posts.
Elk won’t accept the domain and Tusky keeps crashing.
I get the following with Elk: {“error”:”invalid_client”,”error_description”:”The client id supplied is invalid”}
- This reply was modified 10 months, 3 weeks ago by Jonathan Eggers.
- This reply was modified 10 months, 3 weeks ago by Jonathan Eggers.
Forum: Plugins
In reply to: [Enable Mastodon Apps] Error trying to log inYes – I have a plugin that changes the login URL. I disabled that and now get to the login screen. I authenticate and then I get the following:
{“error”:”redirect_uri_mismatch”,”error_description”:”The redirect URI provided is missing or does not match”,”error_uri”:”http:\/\/tools.ietf.org\/html\/rfc6749#section-3.1.2″}
I went through the authorization process again and it worked. However, I’m getting the message in the app that says, “Required field ‘url’ of type String was null in Account”
On the tester, I’m getting the following:
— Request at 2024-01-04T22:09:41.376ZPOST /oauth/token
Server: https://jseggers.com
Content-Type: application/json
Accept: application/json
{ “client_id”: “bxmwxt7epaigt6a672s6qxlynqbz05tw”, “client_secret”: “9ucFfPuBePqYMb7rIUPvA9NZcE8fXbv1l67bwiJWrXjxnG0jP29F4FzZwy93T4tAkM8isAYGJn3M2LiYzKrqQVhIXaXboTHcBLaJfOmB6j1TzuaTlO9Z88hHMpGtHPPl”, “redirect_uri”:“https://akirk.github.io/mastodon-api-tester/”, “code”: “b41c61e19654468ce594335cf3bdf828f7a15d35”, “grant_type”: “authorization_code” }– Response received after 1.3 secondsHTTP Status: 200 cache-control: no-store
content-type: application/json
expires: Wed, 11 Jan 1984 05:00:00 GMT
pragma: no-cache
{ “access_token”: “73b4ab115c9f4e6c25cf8be20065d8da44789008”, “expires_in”: 63072000, “token_type”: “Bearer”, “scope”: “read write”, “created_at”: 1704406183 }– Page loaded at 2024-01-04T22:09:41.375ZForum: Plugins
In reply to: [Enable Mastodon Apps] Error trying to log inIt looks like you leverage nodeinfo:
https://jseggers.com/wp-json/enable-mastodon-apps/api/nodeinfo/2.0.json
If you’re doing this via a redirect of /.well-known/x-nodeinfo2 I need to build a redirect to handle it. My host will not pass any traffic aimed at /.well-know/ through to WordPress, making redirects for that URI within the system impossible.
Forum: Plugins
In reply to: [Enable Mastodon Apps] Error trying to log inI get the following code:
— Request at 2024-01-04T14:31:44.809ZPOST /api/v1/apps
Server: https://jseggers.com
Content-Type: application/json
Accept: application/json
{ “client_name”: “Mastodon API Tester”, “redirect_uris”:“https://akirk.github.io/mastodon-api-tester/”, “scopes”: “read write follow” }– Response received after 0.4 secondsHTTP Status: 200 cache-control: public, max-age=604800
content-type: application/json
expires: Thu, 11 Jan 2024 14:31:46 GMT
link: <https://jseggers.com/wp-json/>; rel=”https://api.w.org/”
{ “id”: “y0iruksblcq6pw7b6lqifr3ugr58xgh4”, “name”: “Mastodon API Tester”, “website”: “”, “redirect_uri”:“https://akirk.github.io/mastodon-api-tester/”, “client_id”: “y0iruksblcq6pw7b6lqifr3ugr58xgh4”, “client_secret”: “kLVhP0h3Uor8CPh56lUZVsX7trtVh9Go7RiV3JqKwJZHKLEb3qvmNxbRua7bnMc8dIcpVf9RP7Xzl427zcsUlfa9qPVf7VSUPMXqZKnUj0jOPJLDzdLny8Ei2xze6PPn” }– Page loaded at 2024-01-04T14:31:33.369ZThen I get the following:
This page isn’t working
jseggers.com redirected you too many times.
ERR_TOO_MANY_REDIRECTS
I tried it in a private session with the same results.
Does it leverage the /.well-know path at all?
Forum: Plugins
In reply to: [Enable Mastodon Apps] Error trying to log inThis is an error message I’m seeing in my 404 logs:
{“error”:”redirect_uri_mismatch”,”error_description”:”The redirect URI provided is missing or does not match”,”error_uri”:”http:\/\/tools.ietf.org\/html\/rfc6749#section-3.1.2″}
Forum: Plugins
In reply to: [Enable Mastodon Apps] Error trying to log inI tried with a different app and am receiving the following now:
Debugger [2023-12-29 17:43:02.332] 200 POST?/api/v1/apps
Debugger [2023-12-29 17:43:03.907] 200 GET /oauth/authorize?response_type=code&client_id=nkqakeechwecld0xko15ltq70nc0rzje&redirect_uri=mastodon-android-auth%3A%2F%2Fcallback&scope=read%20write%20follow%20push
Debugger [2023-12-29 17:43:04.420] 200 GET /oauth/authorize?response_type=code&client_id=nkqakeechwecld0xko15ltq70nc0rzje&redirect_uri=mastodon-android-auth%3A%2F%2Fcallback&scope=read%20write%20follow%20push&action=enable-mastodon-apps-authenticate
In the app I get the error “The page isn’t redirecting properly”
The URL that gives that error is “/oauth/authorize?response_type=code&client_id=jzrqbsz0gmyam5jnoum34nabtjssxmum&redirect_uri=mastodon-android-auth%3A%2F%2Fcallback&scope=read%20write%20follow%20push&action=enable-mastodon-apps-authenticate#”
The debugger info for the entry is:
params array ( ‘response_type’ => ‘code’, ‘client_id’ => ‘nkqakeechwecld0xko15ltq70nc0rzje’, ‘redirect_uri’ => ‘mastodon-android-auth://callback’, ‘scope’ => ‘read write follow push’, ‘action’ => ‘enable-mastodon-apps-authenticate’, )
current_user 0
app Enable_Mastodon_Apps\Mastodon_App::__set_state(array( ‘term’ => WP_Term::__set_state(array( ‘term_id’ => 472, ‘name’ => ‘enable-mastodon-apps’, ‘slug’ => ‘enable-mastodon-apps’, ‘term_group’ => 0, ‘term_taxonomy_id’ => 472, ‘taxonomy’ => ‘mastodon-app’, ‘description’ => ”, ‘parent’ => 0, ‘count’ => 0, ‘filter’ => ‘raw’, )), ))- This reply was modified 10 months, 4 weeks ago by Jonathan Eggers.
- This reply was modified 10 months, 4 weeks ago by Jonathan Eggers.
Forum: Plugins
In reply to: [ActivityPub] Issues with .well-known on Hostinger/DreamhostHappy to help.
Are there any other redirects needed besides nodeinfo, webfinger, and x-nodeinfo?
Also, if I have the WebFinger and Nodeinfo(2) plugins, do those work differently than the ActivityPub plugin? Should I be redirecting Webfinger/Nodeinfo to different JSON queries? Do I even need these two additional plugins?
- This reply was modified 10 months, 4 weeks ago by Jonathan Eggers.
Perfect, thanks!
Forum: Themes and Templates
In reply to: [Hemingway] Infinite Scroll Not WorkingAh – thanks for clarifying.
I have the same issue
Find any solution? I’m having a similar problem.