SwiftUI & Safari Data - Fitbit

I am build up an app where I would like to get the auth (OAuth) from user using the safari class and that returns a data.

LINK is good for opening the URL in safari and getting the authentication done.

But I am not able to get the response data and then feed it back into my App.

Any inputs would be greatly appricated on how to tacle this kind of scenario.

SwiftUI & Safari Data - Fitbit
 
 
Q