Extending header buttons

I believe any “button” that links to /login (of the community site) will ultimately take you to the parent site if SSO is enabled (correctly).