cordova-line-login-plugin icon indicating copy to clipboard operation
cordova-line-login-plugin copied to clipboard

"Code" field is needed for a backend server

Open pipoa opened this issue 4 years ago • 0 comments

For backend server used, "code" field is very important. Reference to Line API document https://developers.line.biz/en/docs/line-login/web/integrate-line-login/#receiving-the-authorization-code

Is there a way to get this field in login function? Recently, we need to get email scope from back end side, because front end is not trustable. Email can be forged even though access_token is correct from front end. With a fake email, one can take over any account he wants.

pipoa avatar Aug 01 '19 11:08 pipoa