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

Auth error #2

Open
artromone opened this issue Nov 21, 2023 · 6 comments
Open

Auth error #2

artromone opened this issue Nov 21, 2023 · 6 comments

Comments

@artromone
Copy link

artromone commented Nov 21, 2023

Got this error :(

No access_token cached. Receiving new one
Opening browser
Paste url you've been redirected: Opening in existing browser session.
http://127.0.0.1/?code=d2G23X&state=state
Code: d2G23X
Bad response for getting access_token: <!doctype html><html lang="en"><head><title>HTTP Status 401 – Unauthorized</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 401 – Unauthorized</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> Unauthorized</p><p><b>Description</b> The request has not been applied because it lacks valid authentication credentials for the target resource.</p><hr class="line" /><h3>Apache Tomcat/9.0.43</h3></body></html>

CLIENT_ID and CLIENT_SECRET are OK

@UnkwUsr
Copy link
Owner

UnkwUsr commented Nov 21, 2023

Hmmm, strange. Tried to get new token right now and all works. Maybe try different browser?
UPD: also worth to try recreating app for new CLIENT_ID and CLIENT_SECRET

@LenaKiseleva
Copy link

LenaKiseleva commented Nov 21, 2023

@UnkwUsr sorry for offtop, can you please tell me why this error appears?
it also doesn't work if i try it with sudo.

ticktask
zsh: Access denied: ticktask

sudo ticktask
sudo: ticktask: command not found

update:
adding execute rights helped

@UnkwUsr
Copy link
Owner

UnkwUsr commented Nov 22, 2023

@LenaKiseleva I've noted this in the installation section now. Thanks!

@UnkwUsr
Copy link
Owner

UnkwUsr commented Jan 3, 2024

@artromone reopen please if this is still issue for you

@UnkwUsr UnkwUsr closed this as completed Jan 3, 2024
@whot
Copy link

whot commented Jan 3, 2024

ftr I ran into this issue today but managed to work around it using python requests from this post

@AlexTemina
Copy link

AlexTemina commented May 23, 2024

Hi! this still happens to me...

Bad response for getting access_token:

<!doctype html><title>HTTP Status 401 – Unauthorized</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>

HTTP Status 401 – Unauthorized


Type Status Report

Message Unauthorized

Description The request has not been applied because it lacks valid authentication credentials for the target resource.


Apache Tomcat/9.0.43

I am using 127.0.0.1 as the redirect url

@UnkwUsr UnkwUsr reopened this May 23, 2024
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

5 participants