Closed revolter closed 6 years ago
Thanks for reporting that. We will get that fixed.
There is the same issue with the documentation for the Azure Auth too: Need to update to include :
import { AzureAuthProvider } from '../node_modules/realm-object-server/dist/auth/azure/AzureAuthProvider'
You should be able to do which seems cleaner to me:
import { auth } from 'realm-object-server';
const facebookProvider = new auth.FacebookAuthProvider()
Updated with @nirinchev 's code
The current documentation has this sample code:
while it needs to be: