Galera, I am involved in a project that requires the use of the Fitbit API. In my code, I redirect the user to the FITBIT website to authorize the use of the data. After authorizing, I need to get the URL to get the Oauth code. How do I make a callback function of this redirect? It is not really an ajax request because I do not use neither get nor post nor put, I just redirect the user.