By: Minhyung Kim user 28 Oct 2020 at 3:09 a.m. CDT

4 Responses
Minhyung Kim gravatar
When we add a passport provider, the automatically generated callback url is invalid. E.g. `https://ab6888ae7739/passport/auth/test-twitter/callback` ## Expected Result Callback url contains our hostname(domain). ## Actual Result The callback url host seems to be the name of the docker container

By Chris Eland staff 28 Oct 2020 at 8:11 a.m. CDT

Chris Eland gravatar
Hi Minhyung Kim I would like to check if it is an UI error or an passport error. Can you please: - Set passport log level to debug (Passport > Configuration) - Paste here the log from configuration where providers information are shown (on `passport.log`) (you can use `docker logs` on passport container.

By Thomas Gasmyr Mougang staff 28 Oct 2020 at 8:11 a.m. CDT

Thomas Gasmyr Mougang gravatar
Can you check if the container hostname is set?

By Minhyung Kim user 30 Oct 2020 at 12:04 a.m. CDT

Minhyung Kim gravatar
It turns out the container hostname was not set for some reason. Thank you.

By Thomas Gasmyr Mougang staff 30 Oct 2020 at 7:57 a.m. CDT

Thomas Gasmyr Mougang gravatar
It is bad idea to set host name in docker container, we have fixed the callback url issue in 4.2.2, you don't have to setup the container host name. Thanks!