Hi,
I am implementing an oAuth2 RESTful API client into my application & cannot seem to forward the user back to the application’s pages.
This is what happens:
- Application checks if it has been authenticated to access the API (assume it hasn’t been authenticated yet)
- Application detects that it has not been authenticated and forwards the user to http://mydomain.com/api/authorize
- Server authenticates the user if the user/pass combination matched. It is then supposed to forward to a callback URL with the appropriate access codes (e.g. http://localhost/callback.php) but I cannot figure out how to forward back to the pages I have compiled into my application.
Any suggestions would be most welcome
Many thanks
Dave