where can i get access token ? and what prop should i use to pass it to UIKItprovider ?
Hello, may I confirm if you have enabled the secure mode? If you haven’t please see the sample code here: Setup & Authentication - Amity Docs you shouldn’t need the access token in this case.
export default function Wrapper({ apiKey, apiEndpoint, userId, displayName }) => {
return (
<UiKitProvider
apiKey={apiKey}
apiEndpoint={apiEndpoint}
userId={userId}
displayName={displayName || userId}
>
<App />
</UiKitProvider>
)
}