I haven't managed identity in 3.XX but I would think you could pass in "popupCallbackUrl" to the OAuthInfo constructor, ie:
var info = new OAuthInfo({
appId: "<pass in your application id here>",
popup: true,
popupCallbackUrl: "<url to redirect to>"
});
esriId.registerOAuthInfos([info]);