After login no redirection to admin page

I have…

I’m submitting a…

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

Current behavior

After successful login via login window, it did not redirect to squidex page just stay on the login window.

Expected behavior

Just able to login.

Minimal reproduction of the problem

I have no clue. :frowning:

Environment

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

Version: 5.0.0

Browser:

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

Others:
From the logs I can see that the admin user was created and after login i did not show wrong credentials or similar it just did not redirect to squidex admin center ( basic welcome after successful login ),

From logs:

{
  "logLevel": "Information",
  "message": "Application started",
  "environment": {
    "applicationname": "Squidex",
    "aspnetcore_urls": "http://\u002B:80",
    "assets:defaultpagesize": "200",
    "assets:defaultpagesizegraphql": "20",
    "assets:deleterecursive": "True",
    "assets:maxresults": "200",
    "assets:maxsize": "5242880",
    "assetstore:amazons3:accesskey": "\u003CMY_KEY\u003E",
    "assetstore:amazons3:bucket": "squidex-test",
    "assetstore:amazons3:bucketfolder": "squidex-assets",
    "assetstore:amazons3:forcepathstyle": "False",
    "assetstore:amazons3:regionname": "eu-central-1",
    "assetstore:amazons3:secretkey": "\u003CMY_SECRET\u003E",
    "assetstore:amazons3:serviceurl": "",
    "assetstore:azureblob:connectionstring": "UseDevelopmentStorage=true",
    "assetstore:azureblob:containername": "squidex-assets",
    "assetstore:exposesourceurl": "False",
    "assetstore:folder:path": "Assets",
    "assetstore:ftp:password": "",
    "assetstore:ftp:path": "Assets",
    "assetstore:ftp:serverhost": "",
    "assetstore:ftp:serverport": "21",
    "assetstore:ftp:username": "",
    "assetstore:googlecloud:bucket": "squidex-assets",
    "assetstore:mongodb:bucket": "fs",
    "assetstore:mongodb:configuration": "mongodb://localhost",
    "assetstore:mongodb:database": "SquidexAssets",
    "assetstore:type": "Folder",
    "caching:maxsurrogatekeyssize": "0",
    "caching:replicated:enable": "True",
    "caching:strongetag": "False",
    "contentroot": "/app",
    "contents:defaultpagesize": "200",
    "contents:defaultpagesizegraphql": "20",
    "contents:maxresults": "200",
    "dotnet_running_in_container": "true",
    "email:notifications:existinguserbody": "Dear User,\r\n\r\n$ASSIGNER_NAME ($ASSIGNER_EMAIL) has invited you to join App $APP_NAME at Squidex Headless CMS.\r\n\r\nLogin or reload the Management UI to see the App.\r\n\r\nThank you very much,\r\nThe Squidex Team\r\n\r\n\u003C\u003CStart now!\u003E\u003E [$UI_URL]",
    "email:notifications:existingusersubject": "[Squidex CMS] You have been invited to join App $APP_NAME",
    "email:notifications:newuserbody": "Welcome to Squidex\r\nDear User,\r\n\r\n$ASSIGNER_NAME ($ASSIGNER_EMAIL) has invited you to join Project (also called an App) $APP_NAME at Squidex Headless CMS. Login with your Github, Google or Microsoft credentials to create a new user account and start editing content now.\r\n\r\nThank you very much,\r\nThe Squidex Team\r\n\r\n\u003C\u003CStart now!\u003E\u003E [$UI_URL]",
    "email:notifications:newusersubject": "You have been invited to join Project $APP_NAME at Squidex CMS",
    "email:notifications:usagebody": "Dear User,\r\n\r\nYou you are about to reach your usage limit for App $APP_NAME at Squidex Headless CMS.\r\n\r\nYou have already used $API_CALLS of your monthy limit of $API_CALLS_LIMIT API calls.\r\n\r\nPlease check your clients or upgrade your plan!\r\n\r\n\u003C\u003CGo to Squidex!\u003E\u003E [$UI_URL]",
    "email:notifications:usagesubject": "[Squidex CMS] You you are about to reach your usage limit for App $APP_NAME",
    "email:smtp:enablessl": "True",
    "email:smtp:password": "",
    "email:smtp:port": "587",
    "email:smtp:sender": "hello@squidex.io",
    "email:smtp:server": "",
    "email:smtp:username": "",
    "eventpublishers:alltorabbitmq:configuration": "amqp://guest:guest@localhost/",
    "eventpublishers:alltorabbitmq:enabled": "False",
    "eventpublishers:alltorabbitmq:eventsfilter": ".*",
    "eventpublishers:alltorabbitmq:exchange": "squidex",
    "eventpublishers:alltorabbitmq:type": "RabbitMq",
    "eventstore:cosmosdb:configuration": "https://localhost:8081",
    "eventstore:cosmosdb:database": "Squidex",
    "eventstore:cosmosdb:masterkey": "<deleted_by_me>",
    "eventstore:geteventstore:configuration": "ConnectTo=tcp://admin:changeit@localhost:1113; HeartBeatTimeout=500; MaxReconnections=-1",
    "eventstore:geteventstore:prefix": "squidex",
    "eventstore:geteventstore:projectionhost": "localhost",
    "eventstore:mongodb:configuration": "mongodb://mongodb",
    "eventstore:mongodb:database": "Squidex",
    "eventstore:type": "MongoDb",
    "exposedconfiguration:version": "squidex:version",
    "fulltext:elastic:configuration": "http://localhost:9200",
    "fulltext:elastic:indexname": "squidex",
    "fulltext:type": "default",
    "healthz:gc:threshold": "4096",
    "home": "/root",
    "hostname": "1cd684554d4c",
    "identity:adminclientid": "",
    "identity:adminclientsecret": "",
    "identity:adminemail": "<deleted_by_me>",                           <---- user is OK
    "identity:adminpassword": "<deleted_by_me>",                     <------ password TOO
    "identity:adminrecreate": "False",
    "identity:allowpasswordauth": "True",
    "identity:githubclient": "211ea00e726baf754c78",
    "identity:githubsecret": "<deleted_by_me>",
    "identity:googleclient": "1006817248705-t3lb3ge808m9am4t7upqth79hulk456l.apps.googleusercontent.com",
    "identity:googlesecret": "<deleted_by_me>",
    "identity:lockautomatically": "False",
    "identity:microsoftclient": "b55da740-6648-4502-8746-b9003f29d5f1",
    "identity:microsoftsecret": "<deleted_by_me>",
    "identity:microsofttenant": "",
    "identity:oidcauthority": "",
    "identity:oidcclient": "",
    "identity:oidcname": "OIDC",
    "identity:oidcscopes:0": "email",
    "identity:oidcsecret": "",
    "identity:privacyurl": "https://squidex.io/privacy",
    "identity:showpii": "True",
    "kafka:bootstrapservers": "",
    "languages:custom": "",
    "letsencrypt_email": "<deleted_by_me>",
    "letsencrypt_host": "ts4000gch.cz.globusgrp.org",
    "logging:colors": "True",
    "logging:datadog": "False",
    "logging:human": "True",
    "logging:level": "Information",
    "logging:logprofiler": "False",
    "logging:logrequests": "True",
    "logging:storeretentationindays": "90",
    "mode:isreadonly": "False",
    "news:appname": "squidex-website",
    "news:clientid": "squidex-website:default",
    "news:clientsecret": "<deleted_by_me>",
    "orleans:clustering": "Development",
    "orleans:gatewayport": "40000",
    "orleans:ipaddress": "",
    "orleans:siloport": "11111",
    "path": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
    "plugins:0": "Squidex.Extensions.dll",
    "rebuild:apps": "False",
    "rebuild:assets": "False",
    "rebuild:contents": "False",
    "rebuild:indexes": "False",
    "rebuild:rules": "False",
    "rebuild:schemas": "False",
    "robots:text": "User-agent: *\nAllow: /api/assets/*",
    "rules:executiontimeoutinseconds": "10",
    "running_in_container": "true",
    "store:mongodb:configuration": "mongodb://mongodb",
    "store:mongodb:contentdatabase": "SquidexContent",
    "store:mongodb:database": "Squidex",
    "store:type": "MongoDb",
    "translations:deepl:authkey": "",
    "twitter:clientid": "QZhb3HQcGCvE6G8yNNP9ksNet",
    "twitter:clientsecret": "<deleted_by_me>",
    "ui:disablescheduledchanges": "False",
    "ui:google:analyticsid": "UA-99989790-2",
    "ui:hidedatebuttons": "False",
    "ui:hidedatetimemodebutton": "False",
    "ui:hidenews": "False",
    "ui:hideonboarding": "False",
    "ui:map:googlemaps:key": "<deleted_by_me>",
    "ui:map:type": "OSM",
    "ui:onlyadminscancreateapps": "False",
    "ui:redirecttologin": "False",
    "ui:referencesdropdownitemcount": "100",
    "ui:regexsuggestions:email": "^[a-zA-Z0-9.!#$%\u0026\u2019*\u002B\\/=?^_\u0060{|}~-]\u002B@[a-zA-Z0-9-]\u002B(?:.[a-zA-Z0-9-]\u002B)*$",
    "ui:regexsuggestions:phone": "^\\(*\\\u002B*[1-9]{0,3}\\)*-*[1-9]{0,3}[-. /]*\\(*[2-9]\\d{2}\\)*[-. /]*\\d{3}[-. /]*\\d{4} *e*x*t*\\.* *\\d{0,4}$",
    "ui:regexsuggestions:slug": "^[a-z0-9]\u002B(\\-[a-z0-9]\u002B)*$",
    "ui:regexsuggestions:url": "^(?:http(s)?:\\/\\/)?[\\w.-]\u002B(?:\\.[\\w\\.-]\u002B)\u002B[\\w\\-\\._~:\\/?#%[\\]@!\\$\u0026\u0027\\(\\)\\*\\\u002B,;=.]\u002B$",
    "ui:showinfo": "False",
    "urls": "http://\u002B:80",
    "urls:baseurl": "https://ts4000gch.cz.globusgrp.org/",
    "urls:enablexforwardedhost": "False",
    "urls:enforcehttps": "False"
  },

After login logs:

{
  "logLevel": "Information",
  "message": "Invoking IdentityServer endpoint: IdentityServer4.Endpoints.AuthorizeCallbackEndpoint for /connect/authorize/callback",
  "endpointType": "IdentityServer4.Endpoints.AuthorizeCallbackEndpoint",
  "url": "/connect/authorize/callback",
  "app": {
    "name": "Squidex",
    "version": "5.0.0.0",
    "sessionId": "33865f0b-b74b-4ee7-b81a-acb541e662e7"
  },
  "web": {
    "requestId": "|f7c7452b-46d8610ace94dbc1.",
    "requestPath": "/connect/authorize/callback",
    "requestMethod": "GET"
  },
  "timestamp": "2021-04-16T15:01:58Z",
  "category": "IdentityServer4.Hosting.IdentityServerMiddleware"
}

{
  "logLevel": "Information",
  "message": "Showing login: User is not authenticated",                             <----- I dont know :frowning: 
  "app": {
    "name": "Squidex",
    "version": "5.0.0.0",
    "sessionId": "33865f0b-b74b-4ee7-b81a-acb541e662e7"
  },
  "web": {
    "requestId": "|f7c7452b-46d8610ace94dbc1.",
    "requestPath": "/connect/authorize/callback",
    "requestMethod": "GET"
  },
  "timestamp": "2021-04-16T15:01:58Z",
  "category": "IdentityServer4.ResponseHandling.AuthorizeInteractionResponseGenerator"
}

{
  "logLevel": "Information",
  "filters": {
    "costs": 0
  },
  "elapsedRequestMs": 15,
  "app": {
    "name": "Squidex",
    "version": "5.0.0.0",
    "sessionId": "33865f0b-b74b-4ee7-b81a-acb541e662e7"
  },
  "web": {
    "requestId": "|f7c7452b-46d8610ace94dbc1.",
    "requestPath": "/identity-server/connect/authorize/callback",
    "requestMethod": "GET"
  },
  "timestamp": "2021-04-16T15:01:58Z"
}

{
  "logLevel": "Information",
  "filters": {
    "costs": 0
  },
  "elapsedRequestMs": 17,
  "app": {
    "name": "Squidex",
    "version": "5.0.0.0",
    "sessionId": "33865f0b-b74b-4ee7-b81a-acb541e662e7"
  },
  "web": {
    "requestId": "|f7c7452c-46d8610ace94dbc1.",
    "requestPath": "/identity-server/Account/Login",
    "requestMethod": "GET"
  },
  "timestamp": "2021-04-16T15:01:59Z"
}

Please format your logs and check the chrome browser log. You use https, right?