He redirect URI included is not valid. <Ubuntu client>

I set gitlab applications key and login successfully by my gitlab account in chrome,but the ubuntu client show this
image

system:ubuntu 18.04
client :4.1.2

Hi @ZombieMisaka! Thanks for reaching out.

Can you help review this web page and send us the relevant logs, config files (e.g. “Site URL” in general configuration options), etc. so we can diagnose this issue?

Here are also old threads related to the same issue with tips that might help: