I need to authorize a user using a custom web service using OAuth2.
To do this, I made a button redirecting to Safari and showing the login to the web service.
After logging in, the web service redirects the URL of the custom schema to my application. Everything works fine, but the Safari Page (used to log in) still remains open.
Is it possible to close this Safari card when it returns to my application after redirection using a custom scheme?
source
share