This recipe creates the google-openid-spring5 project, which is available on GitHub in the Chapter06 folder. Import the generated project as a Maven project into your IDE and follow these steps:
How to do it...
When using the repositories required by version 2.0.0.M4 of Spring Boot, I had experienced an error processing the pom.xml file from Eclipse Maven Plugin (Netbeans and IntelliJ do not present this issue). To fix this problem if on Eclipse, you need to install m2 extensions plugin. To do so, go to Help/ Install New Software and add a new repository using either https://otto.takari.io/content/sites/m2e.extras/m2eclipse-mavenarchiver/0.17.2/N/LATEST/ or http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-mavenarchiver/0.17.2/N/LATEST/ ...
Get OAuth 2.0 Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.