TheThingsNetwork / lorawan-stack

The Things Stack, an Open Source LoRaWAN Network Server
https://www.thethingsindustries.com/stack/
Apache License 2.0
975 stars 306 forks source link

client is not authorized to request a token using this method #2098

Closed cyclops1982 closed 4 years ago

cyclops1982 commented 4 years ago

Summary

Installed it via getting started guide. Getting "client is not authorized to request a token using this method" when i try to login to the console.

I'd really like some help with this as i'm new to docker and ttn-stack :)

Steps to Reproduce

  1. Clear cookies
  2. Go to console
  3. Enter admin / passwd added during create-admin-account step
  4. Get error message "client is not authorized to request a token using this method" on URL https://ttn.lnd.prof-x.net:8885/oauth/authorize?client_id=console&redirect_uri=%2Fconsole%2Foauth%2Fcallback&response_type=code&state=kkm1GRX5cvajZOFu

Logs / Configs

Config: http://cyclops.nettrends.nl/stuff/lora/ttn-lw-stack.yml Docker compose file: http://cyclops.nettrends.nl/stuff/lora/docker-compose.yml Docker log: http://cyclops.nettrends.nl/stuff/lora/docker-output.txt

Environment

[23:15:57] root@jubilee:~/dev/ttnstack/config/stack# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic

ttn.lnd.prof-x.net is an internal domain, can't be accessed from the outside world. i'm currently running this on 8885/1885 as 80/443 are currently in use.

johanstokking commented 4 years ago

Did you create the OAuth client? See https://thethingsstack.io/v3.6.0/guides/getting-started/running-the-stack/

htdvisser commented 4 years ago

Since there has not been any response from the author of this issue in the last month, we assume that they managed to solve the issue on their own. I'll close the issue now, but feel free to reopen if this is still a problem.

cyclops1982 commented 4 years ago

Sorry, yes it can be closed!