stleamist / BetterSafariView

A better way to present a SFSafariViewController or start a ASWebAuthenticationSession in SwiftUI.
MIT License
581 stars 57 forks source link

Using web authentication session in an app #42

Closed JackOSheaDev closed 1 year ago

JackOSheaDev commented 1 year ago

Understanding how the alert in the demo works:

I’m very new to using oauth and better safari view and I’m trying to set up a login screen.

I’ve noticed in the demo that when you log into GitHub the app goes back to the main screen. Is this handled by setting the callback url scheme to github and then using a redirect url starting with github:// on the oauth provider redirect ?