spring:
application:
name: Auth201Server
# H2 Database Configuration (In-Memory for development)
datasource:
url: jdbc:h2:mem:oauth2db
driver-class-name: org.h2.Driver
username: sa
password:
# JPA Configuration
jpa:
database-platform: org.hibernate.dialect.H2Dialect
hibernate:
ddl-auto: create-drop
show-sql: true
properties:
hibernate:
format_sql: true
# H2 Console (for development only)
h2:
console:
enabled: true
path: /h2-console
# Server Configuration
server:
port: 9000
# Logging Configuration
logging:
level:
org.springframework.security: DEBUG
org.springframework.security.oauth2: DEBUG