I understand your issue now. I can confirm that this feature is not working when logging in via social login method (Google/Twitter/Facebook).
Working on a fix now. Fixed via:
https://github.com/discourse/discourse/commit/ad98f270c925e7cbdfdf7d7687605b49656503b6
Thanks for reporting this @yyhmsg ![]()