i am running an application that runs on several subdomains usergroupXYZ.onruby.de and also supports arbitrary domains as aliases. so you can access the domain via yourusergroup.onruby.de or via customdomain.de.
the app provides logins via twitter oauth and github oauth2.
the problem is, that i did not find a way to support github auth via custom domains. i always get redirect_uri_mismatch
errors from github.
the twitter auth does not have a problem with redirecting to a different domain.
does anyone have a solution to this problem other than creating a github application token for each custom domain?