Hi @mohd.ilyas,
Have you looked through our react quickstart? It demonstrates how to get userinfo and an access token. To get the id token you can use the function described here.
If you have trouble let me know and we can walk through it.
Thanks,
Dan