Connecting Auth0 to MongoDB

How do I URL-encode the password.