The Pocket Network protocol contemplates the use of Application Auth Tokens to allow Application Clients to access Service Nodes on behalf of the Application.
Note: This process requires you to set up a back-end server to store your AAT and create a relay from your DApp to the serve.
For a quick and seamline setup for connecting your application(dApp), you can use the CLI to generate the token and embed it into your application. Though this way isn't a secure way to sign and send relays like the SDK, we recommend using caution when connecting your application this way.
Updated 17 days ago