Skip to content
Branch: master
Find file History
Maximilian Alexander Maximilian Alexander
Maximilian Alexander and Maximilian Alexander adding client side query expiration with time to live
Latest commit c693eab Apr 13, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
ios adding more comments Apr 12, 2018

JWT Authentication

There are 3 components to making JWT Authentication Work.

Overall it's a simple 2 step process.

  1. ROS or Realm Cloud just needs to have JwtAuthProvider setup with a public key
  2. The Custom Auth Server needs to sign the token with the privatekey.pem

How do I generate proper keys?

Take a look at server/

What about Realm Cloud?

If you need to get JWT setup with Realm Cloud...

  1. Generate the private keys, check out the commands here: server/
  2. Copy the public key in the settings in Realm Cloud's settings
  3. Follow the general pattern laid out above!
You can’t perform that action at this time.