Skip to main content

Token Server

Your access key is your unique authentication key to be used to generate room tokens for accessing the 4Players ODIN server network. Think of it as your individual username and password combination all wrapped up into a single non-comprehendable string of characters, and treat it with the same respect.

info

You can create an access key for up to 25 users below for free and without registration. Please contact us if you want to go into production or need more.

ODIN Access Key Generator

Click on the button to create an access key that you can use for free for up to 25 concurrent users.

While you can create an unlimited number of access keys for your projects, we strongly recommend that you never put an access key in your client code. The following Node.js server application starts a basic HTTP server and utilizes our @4players/odin-tokens package to generate a room token to be used by your client to access a room.

Node.js Token Server

Node.js Token Server
https://github.com/4Players/odin-tokens/blob/master/examples/token-server/src/server.ts