Login page not open on first launch
There seems to be a problem with this app
Error: Invalid client
Show Error Details responce_type=code redirectUri= boxsdk-(null)://boxsdkoauth2redirect state=z0wu.......djr8= cle=ient_id=(null)
comes when launch app first time ,after killing app it works fine. My code is in swift and setting client id secret as documented here.
Hi suniljakhar thanks for letting us know, are you setting the client ID and secret prior to calling the authentication function?
Hi RLEE0731 , Yes we setting the proper client ID and secret prior to calling the authentication function. As i previously mentioned that first time it is not working but after quit and launch things are working as expected.
Does the same behavior happen when you try running the sample app? Make sure to set the client ID and secret under [application:didFinishLaunchingWithOptions:]
I am getting this error when trying to run the sample app on device "Provisioning profile "iOS Team Provisioning Profile: *" doesn't support the App Groups capability.". Also tried on simulator it is working as expected.
Cool, so it seems somewhere in the code is accessing BOXContentClient before the client ID and secret are set. I would say try adding breakpoints wherever BOXContentClient is being called, and ensure [BOXContentClient setClientID:clientSecret:] is first to be called when you run your app.
@suniljakhar Are you still running into this issue?
This issue has been automatically marked as stale because it has not been updated in the last 30 days. It will be closed if no further activity occurs within the next 7 days. Feel free to reach out or mention Box SDK team member for further help and resources if they are needed.
This issue has been automatically closed due to maximum period of being stale. Thank you for your contribution to Box iOS SDK and feel free to open another PR/issue at any time.