Angular SPA and Spring Boot

We created Angular SPA using Oauth Angular SPA Sample.
We are authenticated using google.
Now when we created the Spring Boot Sample from Oauth, it created different domain

we want to pass the token to spring and spring should validate the token from same domain from where angular get that token.

For example : Angular (get token from OAuth) --------OAuth -----------Spring Boot (get token from Angular and verify from OAuth)