Getting the view id displayed inside the react page

Hi Team, We are facing some issues with the AUTH setup in our application.
We have setup a multiauth in the application and for making it work we need to store the view id of the particular view inside a database, so that we can make it different for each view the user has
We are struggling to figure out how can we get the view id stored in our database when we click on the authorize button in our front end page(screenshot attached)
If anyone can help with this issue it would be great