rename openID module

This commit is contained in:
DOHA 2017-02-02 14:00:34 +02:00
parent a312ce5e11
commit 3522c0537b
11 changed files with 8 additions and 9 deletions

1
.gitignore vendored
View File

@ -28,3 +28,4 @@ target/
spring-openid/src/main/resources/application.properties spring-openid/src/main/resources/application.properties
.recommenders/ .recommenders/
/spring-hibernate4/nbproject/ /spring-hibernate4/nbproject/
spring-security-openid/src/main/resources/application.properties

View File

@ -139,7 +139,7 @@
<module>spring-mvc-web-vs-initializer</module> <module>spring-mvc-web-vs-initializer</module>
<module>spring-mvc-xml</module> <module>spring-mvc-xml</module>
<module>spring-mvc-simple</module> <module>spring-mvc-simple</module>
<module>spring-openid</module> <module>spring-security-openid</module>
<module>spring-protobuf</module> <module>spring-protobuf</module>
<module>spring-quartz</module> <module>spring-quartz</module>
<module>spring-rest-angular</module> <module>spring-rest-angular</module>

View File

@ -2,15 +2,13 @@
## OpenID Connect with Spring Security ## OpenID Connect with Spring Security
### Run the Project
### Build the Project
``` ```
mvn clean install mvn spring-boot:run
``` ```
### Obtain Google App - Client ID, Secret ### 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 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 - Make sure you set redirect URI to http://localhost:8081/google-login

View File

@ -3,11 +3,11 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>spring-openid</artifactId> <artifactId>spring-security-openid</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging> <packaging>war</packaging>
<name>spring-openid</name> <name>spring-security-openid</name>
<description>Spring OpenID sample project</description> <description>Spring OpenID sample project</description>
<parent> <parent>