D
D
dimas092015-11-11 19:21:30
Android
dimas09, 2015-11-11 19:21:30

Is it possible to get an email by calling the users.get method?

Hello.
We have an android application in it, we use vkontakte sdk and get an access_token, but when requesting in scope, we put email, while we get both access_token and email in the application.
Now we need to authenticate the user on our backend, we have a REST API and we want to pass an access_token to one of its methods, but in order to create a user in our system, we need an email, that's why we request it from the user, but on the server access_token we can't get email using users.get. And passing the email along with the access_token to the server is not safe, since we can never be sure that the application has not been hacked and the email has not been spoofed.
Any advice on how to get around this inconvenience?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question