How to use the REST API securely
Hi, I'm using the REST API v1 to retrieve a blog post using the api session keys. Currently my community uses http to access the REST api and I'm concerned on how I'm retrieving the token. I don't have SSO enabled, so my URL to request a token looks something like http://<community url>/restapi/vc//authentication/sessions/login?user.login=<user name>&user.password=<password>. I'm concerned someone in the middle can see the user name and password since it's not https.
What's the recommended way to securely retrieve the blog post? The blog post content requires a user to sign on to view them, so they're not public. But the user we're currently using can see other private posts that's not limited to the blog, so I don't want the user name and password to be seen.
You should be able to have your community configured so that you can make the /sessions/login call over HTTPS. If it's not already configured to do so, I would recommend filing a support case to have it set up.