Invalid redirect URI

Hi

just updated my thethingsstack debian vm from 3.7.2 to 3.8.3.
i f i try to login i get this error page:
image

i have cleared my browser cache after that i can type in my user name and password but get the same error page after clicking on login.

how can i sewolve the problem and login again?

node data is received by the server and can be read with mqtt fine.
but i cannot login to the console

when i open the debug information in the browser i see a 403 error for the request:

https://ttn.wasn.eu/oauth/authorize?client_id=console&redirect_uri=%2Fconsole%2Foauth%2Fcallback&response_type=code&state=???????

in the logs i find:

stack_1 | WARN OAuth error error=error:pkg/oauth:invalid_redirect_uri (invalid redirect URI) error_cause=urls don’t validate: https://ttn.wasn.eu / /console/oauth/callback forwarded_for=83.135.115.97 method=GET namespace=web remote_addr=192.168.88.247:55452 request_id=??? url=https://ttn.wasn.eu/oauth/authorize?client_id=console&redirect_uri=%2Fconsole%2Foauth%2Fcallback&response_type=code&state=???

fixed it by running this command from setup again:

run --rm stack is-db create-oauth-client ......

This topic was automatically closed after 30 days. New replies are no longer allowed.