I recently made a small app with webserver flow. Now I am trying a user-agent example. I am wondering why do we need to define a redirect-Uri in user-agent flow.
I am working with Saleforce.com API:
redirect_uri The authorization server will respond with a redirect to this URI. This parameter must match your application's configured callback URL.