Login issue Invalid redirect_uri


#1

I have…

  • [ ] Checked the logs and have provided uploaded a log file and provided a link because I found something suspicious there.

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [X] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

  1. Visit homepage BASE_URL
  2. Click on “Login to Squidex” button
  3. Displays the popup with Operation failed Invalid redirect_uri message

Expected behavior

  1. Visit homepage BASE_URL
  2. Click on “Login to Squidex” button
  3. Displays the popup with login form with Username & Password

Minimal reproduction of the problem

Environment

  • [X] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ ] Cloud version

Hosted on Azure Kubernetes Service (AKS)

Version: 3.x

Browser:

  • [X] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [X] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [X] Edge

Others:

Environment Variables

URLS__BASEURL: aks-dev-01.southeastasia.cloudapp.azure.com
URLS__ENFORCEHTTPS: true
LOGGING__HUMAN: false
EVENTSTORE__MONGODB__CONFIGURATION: mongodb://squidex-db-0.squidex-db-svc,squidex-db-1.squidex-db-svc:27017/
EVENTSTORE__MONGODB__DATABASE: Squidex2
STORE__MONGODB__CONFIGURATION: mongodb://squidex-db-0.squidex-db-svc,squidex-db-1.squidex-db-svc:27017/
STORE__MONGODB__DATABASE: Squidex2
STORE__MONGODB__CONTENTDATABASE: SquidexContent2
SQUIDEX__PROTOCOL: https
SQUIDEX__FORCE_HTTPS: True
IDENTITY__ADMINEMAIL: <<SOME_ADMIN_EMAIL>>
IDENTITY__ADMINPASSWORD: <<SOME_LONG_ADMIN_PED>>
IDENTITY__GITHUBCLIENT: 
IDENTITY__GITHUBSECRET: 
IDENTITY__GOOGLECLIENT: 
IDENTITY__GOOGLESECRET: 
IDENTITY__MICROSOFTCLIENT: 
IDENTITY__MICROSOFTSECRET:

#2

Uploading the logs here:
https://ananddevsa.blob.core.windows.net/squidex-logs/logs-from-squidex-in-squidex-app-dcd6c4967-4w626.txt?sp=r&st=2019-06-30T16:00:00Z&se=2019-08-31T15:59:00Z&spr=https&sv=2018-03-28&sig=WEwsoMdye5bb1S1UojlN5%2Bju5H7VtlUrnCaZCdHpzng%3D&sr=b


#3

URLS__BASEURL must be an URL, not a host name, e.g. http://…


#4

Thanks a lot @Sebastian… you saved my day.