Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i get response from vue cli and then to send backend server? #2

Open
pyaeswin opened this issue Jan 13, 2020 · 1 comment
Open

Comments

@pyaeswin
Copy link

No description provided.

@520
Copy link

520 commented Sep 25, 2020

WX20200925-205438
After you successfully log in, apple will request redirect url your offer, bringing the form data at header with state, code, id_token and email or name at first time. At this time, Vue cant receive these form data. The job should be done by backend server like java. Backend processes it and redirect to vue frontend by url. well there is two way to pass parameters from back to end, first one is through get request, redirect to url that concat the parameters, like www.example.com/id_token=xxx&coder=xxx, of cause which is un-secure. second one is to store these in redis and return the url like www.example.com/rediskey=xxx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants