Here is an ar5ticle which is somewhat helpful - How do I set up a dynamic Allowed Callback URL?
However, a step by step tutorial for this owuld be very helpful. I am using wordpress plugin. I want people to be able to sign in and return to the page from which that was initiated.