+1 vote
1 view
in Salesforce by (11.9k points)

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:

http://wiki.developerforce.com/page/Digging_Deeper_into_OAuth_2.0_on_Force.com

redirect_uri The authorization server will respond with a redirect to this URI. This parameter must match your application's configured callback URL.

1 Answer

0 votes
by (30.1k points)
Talking about the user agent flow, redirect-URI is the perfect location which the user gets redirected to after they click Approve on the approval page. Added onto the redirect_uri is a hash fragment.
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...