DEV Community

Discussion on: Building a realtime multiplayer browser game in less than a day - Part 4/4

Collapse
 
srushtika profile image
Srushtika Neelakantam

Hi, it's expecting an authUrl, not a direct API key. If you'd like to use the API key directly instead to authenticate (which is not recommended btw for the frontend clients) - you'll need to replace the key authUrl with key in the init method. Here's an example: ably.com/documentation/core-featur....

If you are still facing issues, please feel free to open a support ticket at ably.com/contact and the team can help out.