Initiate Authorization
This example demonstrates how to construct an authorization request URL. When the user's browser makes a GET request to this URL, they will be guided through the necessary steps to grant API access on their behalf.
Request
https://ident.familysearch.org/cis-web/oauth2/v3/authorization?client_id=a0T3000000BfM3mEAF&redirect_uri=http%3A%2F%2Flocalhost%3A4567%2Fauth%2Ffamilysearch%2Fcallback&response_type=code&scope=openid
Response
Once the user completes the authorization, the browser will be redirected to the redirect_uri
provided in the request. The request will include query parameters such as a code
and (optionally) a state
http://localhost:4567/auth/familysearch/callback?code=-32-91-124-3748219-11777-8294-68-431072677-32-84-126-971021075-21-30-43-61-44-99-25-4394&state=1
Updated 2 days ago