Redirect user to new-topic after oauth login

I have an oauth setup done in my discourse instance. I know we can redirect users to certain pages after login if we had sso →

I would like to know if this is possible after oauth login like →

Sorry, found it here already here

What you have to do is, instead of return_path, user origin.