prathercc / discrub-ext

Message manipulation and export tool for Discord. (Chrome Extension)
https://www.reddit.com/r/discrub/
93 stars 13 forks source link

Authentication Failed #65

Closed salmaxon closed 11 months ago

salmaxon commented 1 year ago

This extension was working last week and now gives this error whenever I try to load it while logged in to discord. I have tried restarting browser and computer and re-installing the extension with the same result.

image

salmaxon commented 1 year ago

image

Still an issue on latest version

salmaxon commented 1 year ago

This is the error in the console when bringing up discrub

image

PostalPanda commented 12 months ago

Still no resolution here? I am having the same issue on every device.

prathercc commented 11 months ago

@PostalPanda @salmaxon Were either you successful on getting this to work? I've dug into this issue but I am unable to determine what the issue could be here unfortunately 😕 Do you have a script blocker extension running in the background perhaps?

The issue seems to be that the authorization token is unable to be found in the browser when the extension starts, I am wondering if I should add a way to manually enter an authorization token in the case where it could not be found.

PostalPanda commented 11 months ago

I was not able to get it working. I ultimately had to figure something else how for the mean time. I will have to check if, perhaps, you need to open a window within discord (Such as a channel or DM) before it will get the authentication token; as the authentication token might not be available until you do. Not sure, I just know when I manually went and obtained the token, I had to open a channel or DM first.

@PostalPanda @salmaxon Were either you successful on getting this to work? I've dug into this issue but I am unable to determine what the issue could be here unfortunately 😕 Do you have a script blocker extension running in the background perhaps?

The issue seems to be that the authorization token is unable to be found in the browser when the extension starts, I am wondering if I should add a way to manually enter an authorization token in the case where it could not be found.

prathercc commented 11 months ago

I was not able to get it working. I ultimately had to figure something else how for the mean time. I will have to check if, perhaps, you need to open a window within discord (Such as a channel or DM) before it will get the authentication token; as the authentication token might not be available until you do. Not sure, I just know when I manually went and obtained the token, I had to open a channel or DM first.

@PostalPanda @salmaxon Were either you successful on getting this to work? I've dug into this issue but I am unable to determine what the issue could be here unfortunately 😕 Do you have a script blocker extension running in the background perhaps? The issue seems to be that the authorization token is unable to be found in the browser when the extension starts, I am wondering if I should add a way to manually enter an authorization token in the case where it could not be found.

As of 1.11.0 you should be able to manually enter an Authorization token into Discrub, if you encounter this issue - https://imgur.com/a/F9SNzai

Sorry that this issue continues to persist for you 🙁 Hopefully this will be able to help others facing this problem.

markhicken commented 1 week ago

For me, it fails in Brave browser and manually entering the token doesn't help. But it works fine in a clean instance of Chrome.