diff --git a/.gitignore b/.gitignore
index 1352c943be..784627b616 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,4 +27,5 @@ target/
spring-openid/src/main/resources/application.properties
.recommenders/
-/spring-hibernate4/nbproject/
\ No newline at end of file
+/spring-hibernate4/nbproject/
+spring-security-openid/src/main/resources/application.properties
diff --git a/pom.xml b/pom.xml
index 5858c69556..06feb5e4f5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -139,7 +139,7 @@
spring-mvc-web-vs-initializer
spring-mvc-xml
spring-mvc-simple
- spring-openid
+ spring-security-openid
spring-protobuf
spring-quartz
spring-rest-angular
diff --git a/spring-openid/README.md b/spring-security-openid/README.md
similarity index 63%
rename from spring-openid/README.md
rename to spring-security-openid/README.md
index c5989217f4..79bf44f374 100644
--- a/spring-openid/README.md
+++ b/spring-security-openid/README.md
@@ -2,15 +2,13 @@
## OpenID Connect with Spring Security
-
-### Build the Project
+### Run the Project
```
-mvn clean install
+mvn spring-boot:run
```
-
### Obtain Google App - Client ID, Secret
-- You need to get client id and client secret from [Google Developer Console](https://console.developers.google.com/project/_/apiui/credential?pli=1)
+- You need to get client id and client secret by creating a new project at [Google Developer Console](https://console.developers.google.com/project/_/apiui/credential?pli=1)
- Make sure to add OAuth2 credentials by selecting Add credentials > OAuth 2.0 client ID
- Make sure you set redirect URI to http://localhost:8081/google-login
diff --git a/spring-openid/pom.xml b/spring-security-openid/pom.xml
similarity index 95%
rename from spring-openid/pom.xml
rename to spring-security-openid/pom.xml
index 6646cdea14..6e5db533d7 100644
--- a/spring-openid/pom.xml
+++ b/spring-security-openid/pom.xml
@@ -3,11 +3,11 @@
4.0.0
com.baeldung
- spring-openid
+ spring-security-openid
0.0.1-SNAPSHOT
war
- spring-openid
+ spring-security-openid
Spring OpenID sample project
diff --git a/spring-openid/src/main/java/org/baeldung/config/GoogleOpenIdConnectConfig.java b/spring-security-openid/src/main/java/org/baeldung/config/GoogleOpenIdConnectConfig.java
similarity index 100%
rename from spring-openid/src/main/java/org/baeldung/config/GoogleOpenIdConnectConfig.java
rename to spring-security-openid/src/main/java/org/baeldung/config/GoogleOpenIdConnectConfig.java
diff --git a/spring-openid/src/main/java/org/baeldung/config/HomeController.java b/spring-security-openid/src/main/java/org/baeldung/config/HomeController.java
similarity index 100%
rename from spring-openid/src/main/java/org/baeldung/config/HomeController.java
rename to spring-security-openid/src/main/java/org/baeldung/config/HomeController.java
diff --git a/spring-openid/src/main/java/org/baeldung/config/SecurityConfig.java b/spring-security-openid/src/main/java/org/baeldung/config/SecurityConfig.java
similarity index 100%
rename from spring-openid/src/main/java/org/baeldung/config/SecurityConfig.java
rename to spring-security-openid/src/main/java/org/baeldung/config/SecurityConfig.java
diff --git a/spring-openid/src/main/java/org/baeldung/config/SpringOpenidApplication.java b/spring-security-openid/src/main/java/org/baeldung/config/SpringOpenidApplication.java
similarity index 100%
rename from spring-openid/src/main/java/org/baeldung/config/SpringOpenidApplication.java
rename to spring-security-openid/src/main/java/org/baeldung/config/SpringOpenidApplication.java
diff --git a/spring-openid/src/main/java/org/baeldung/security/OpenIdConnectFilter.java b/spring-security-openid/src/main/java/org/baeldung/security/OpenIdConnectFilter.java
similarity index 100%
rename from spring-openid/src/main/java/org/baeldung/security/OpenIdConnectFilter.java
rename to spring-security-openid/src/main/java/org/baeldung/security/OpenIdConnectFilter.java
diff --git a/spring-openid/src/main/java/org/baeldung/security/OpenIdConnectUserDetails.java b/spring-security-openid/src/main/java/org/baeldung/security/OpenIdConnectUserDetails.java
similarity index 100%
rename from spring-openid/src/main/java/org/baeldung/security/OpenIdConnectUserDetails.java
rename to spring-security-openid/src/main/java/org/baeldung/security/OpenIdConnectUserDetails.java
diff --git a/spring-openid/src/main/resources/application.properties.sample.properties b/spring-security-openid/src/main/resources/application.properties.sample.properties
similarity index 100%
rename from spring-openid/src/main/resources/application.properties.sample.properties
rename to spring-security-openid/src/main/resources/application.properties.sample.properties