DestinyItemManager / iOS

The Unlicense
3 stars 2 forks source link

Web auth #28

Closed bhollis closed 1 year ago

bhollis commented 1 year ago

This switches to ASWebAuthenticationSession for logging in to Bungie.net. It required some changes to the DIM web app that are in beta but not in app yet.

This shows a "DIM wants to log in with Bungie.net" screen and then all the login is handled via a popup. We no longer need to enumerate all of the sites Bungie can use to log in, as this is an isolated browser instance. At the end, DIM redirects to a special app scheme dimauth which triggers the app to take back over.

Screenshot 2023-02-14 at 3 26 19 PM