You need to sign in to do that
Don't have an account?
Wei Dong 10
How to verify a user?
Hi,
In my RESTful API suppose I have a username and a password, how can check whether the user is verified (I cannot fetch the password and do checks...)?
In my RESTful API suppose I have a username and a password, how can check whether the user is verified (I cannot fetch the password and do checks...)?
There are two aspects of it : Authorization and Authentication.
Please check : https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_username_password_oauth_flow.htm
Hoping that you setup connected app :)
Using Postman, you can verify,
1. Download URL :- https://www.getpostman.com/
2. https://<instance>.salesforce.com/services/oauth2/token?grant_type=password&client_id=<Consumer Key_Here>&client_secret=<Consumer Secret_Here>&username=<UserName>&password=<Password+SecurityToken>
If you receive the access token then it means the user is authenticated. Then using the token you can perform the other actions.
REF : http://amitsalesforce.blogspot.com/2017/06/test-salesforce-api-by-postman-rest.html
Thanks,
Govindaraj.S