Who Me Too'd this topic

Access token missing in SceneDelegate callback

-2bue2m_6pfz1
Newbie

 

Plan:

Premium

Country:

USA

 

Device

iPhone 7

Operating System

 

 

iOS 13.4.1

 

I've been working on changing my test app to use token swap. I modeled the client after the example here: (https://github.com/spotify/ios-sdk/tree/master/DemoProjects/SPTLoginSampleAppSwift/SPTLoginSampleApp...). Since my app is newer it uses SceneDelegate instead of AppDelegate. When I get the callback to func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>)

I do the following:

        let parameters = appRemote?.authorizationParameters(from: url);

        let access_token = parameters?[SPTAppRemoteAccessTokenKey]

 

but there are no parameters. What could cause this? Is there some way to enable more debugging output?

 

Who Me Too'd this topic