V
V
Vadim9972018-04-29 15:13:15
Java
Vadim997, 2018-04-29 15:13:15

How to get access token by its AUTHORIZATION_CODE in spring mvc?

I can't get access token, but I get authorization code. I can not understand how in the controller or in the config you can do this. If you run the project https://github.com/VadimLi/spring-security-oauth2-... , then when you go to google, you can see the uri with the code and status, but I wanted to see the user data (id, first name, last name, email and etc.).
Thanks in advance.

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