On dashboard.wikiedu.org, we have a signup flow for users who do not already have Wikipedia accounts, which uses 'returntoquery' to send a user to the account creation page and then immediately redirect them to an auth page for the dashboard once they've created their account. Here are the entry points for this flow:
en.wiki: https://dashboard.wikiedu.org/users/auth/mediawiki_signup
test.wiki: https://dashboard-testing.wikiedu.org/users/auth/mediawiki_signup
This usually works, but seems occasionally fail with 'mwoauthdatastore-access-token-not-found'. @Tgr suggests that this might be caused by master-slave lag.