diff --git a/_includes/rest/users.md b/_includes/rest/users.md index ac92dd4f..d0934e89 100644 --- a/_includes/rest/users.md +++ b/_includes/rest/users.md @@ -620,13 +620,9 @@ the user's credentials. The Parse REST API supports these use cases with the `/loginAs` endpoint. This endpoint takes a `userId` parameter, and must be called using the master key. It will create a session for the given user ID, and will return the same response format as the `/login` endpoint. The new session -will have a `createdWith` value of `create`, and an `authProvider` value of +will have a `createdWith` value of `login`, and an `authProvider` value of `masterkey`. -**The `/loginAs` endpoint performs no identity verification** - any client with -the master key can log in as any user. You are strongly encouraged to apply -careful security around any systems that call the `/loginAs` endpoint. -
curl -X GET \
@@ -654,10 +650,8 @@ print result