nodebb-plugin-imgur invalid CSRF
-
Register an imgur app here, make sure you fill in the callback URL properly. It should be http://yourforum.com/admin/plugins/imgur adjust based on your forum url.
Once you register you will get a client ID and secret. Enter these values below.
Optionally, create an album for your forum on imgur and put its album ID below. You can find the ID by going to the album URL and taking the characters after the
/a
. Ex. forhttp://imgur.com/a/abcdef
, the ID isabcdef
After entering the values click Save and then Authorize, you will be redirected to imgur to allow access to your app.
Once you allow access you will be redirected back to nodebb.
Obviously, I'm using
https
but it also doesn't work if you usehttp
-
@baris resolved the malformed URL issue - not sure why that happened, but the plugin still doesn't seem to work for me in the sense that the image is never rendered, just the ALT tag, but when you click the link it takes you to the actual image.
-
@baris said in nodebb-plugin-imgur invalid CSRF:
WAIT....
The imgur plugin uploads images to imgur and that's it
What if the image already exists, and you want to simply display it ??
-
I can upload on imgur with my account without error. I think the problem is maybe with the plugin but I could be wrong, I'm not a dev
Or maybe a blacklisted IP (hetzner) by imgur ?
-
@DownPW said in nodebb-plugin-imgur invalid CSRF:
Or maybe a blacklisted IP (hetzner) by imgur ?
Perhaps, but that's only something that Imgur themselves could confirm.
-
I should look at the nodebb logs when I Have the error to see if I have more information