ADD SecurityConfig & ADD Auth Endpoints
This commit is contained in:
16
src/main/resources/application-local.properties
Normal file
16
src/main/resources/application-local.properties
Normal file
@@ -0,0 +1,16 @@
|
||||
# Database
|
||||
spring.datasource.url=jdbc:postgresql://postgres:5432/vodSystem
|
||||
spring.datasource.username=myuser
|
||||
spring.datasource.password=mypassword
|
||||
spring.datasource.driver-class-name=org.postgresql.Driver
|
||||
spring.jpa.hibernate.ddl-auto=update
|
||||
spring.jpa.show-sql=true
|
||||
spring.sql.init.mode=always
|
||||
spring.sql.init.schema-locations=classpath:db/schema.sql
|
||||
spring.sql.init.data-locations=classpath:db/data.sql
|
||||
|
||||
# Security
|
||||
spring.security.oauth2.client.registration.google.client-id=${GOOGLE_CLIENT_ID}
|
||||
spring.security.oauth2.client.registration.google.client-secret=${GOOGLE_CLIENT_SECRET}
|
||||
spring.security.oauth2.client.registration.google.scope=openid,profile,email
|
||||
spring.security.oauth2.client.registration.google.redirect-uri=http://localhost:8080/login/oauth2/code/google
|
||||
@@ -1,4 +1,5 @@
|
||||
spring.application.name=vodSystem
|
||||
spring.profiles.active=local
|
||||
|
||||
# VODs
|
||||
spring.servlet.multipart.max-file-size=2GB
|
||||
@@ -6,17 +7,5 @@ spring.servlet.multipart.max-request-size=2GB
|
||||
temp.vod.storage=videos/inputs/
|
||||
temp.vod.output=videos/outputs/
|
||||
|
||||
# Database
|
||||
spring.datasource.url=jdbc:postgresql://postgres:5432/vodSystem
|
||||
spring.datasource.username=myuser
|
||||
spring.datasource.password=mypassword
|
||||
spring.datasource.driver-class-name=org.postgresql.Driver
|
||||
spring.jpa.hibernate.ddl-auto=update
|
||||
spring.jpa.show-sql=true
|
||||
spring.sql.init.mode=always
|
||||
|
||||
spring.sql.init.schema-locations=classpath:db/schema.sql
|
||||
spring.sql.init.data-locations=classpath:db/data.sql
|
||||
|
||||
# Logging
|
||||
logging.level.org.springframework.web=DEBUG
|
||||
Reference in New Issue
Block a user