before rendering the component I have a server side request to get the token that can be used to request a session which works when I do the login from my app but inside the <UIKitProvider> it seems the authToken is not used anymore by the component and the session calls inside the UIKitProvider fails.
after this the UIKitSocial component is rendered that does again a session call but in this case the authToken is not passed even though I have passed this authToken to the UIKitProvider (see code above)
Further investigating the source code of the UIKitProvider
I don’t see where the Provider uses the authToken that is passed to the component? If you do a search for “authToken” in this file you will see that it finds it only once in the interface definition.
Shouldn’t this be used in the login and/or createClient call line 86 and 97, and is this the reason the session call fails?
Hey guys, its been a month since last reply, can you confirm this is a bug in the UI Kit?
Basically the UI Kit is unusable in secure mode in its current state as it doesn’t handle the authToken ?
Hello @lorandd, apologies for not updating you here, as we’ve already provided the updates via email that we escalated this issue to the team.
Since you’ve found and applied the solution in your UIKit, we recommend keeping this code for now until the fix version is released. If you encounter any issues with this solution, please let us know. Thank you.