Skip to content

Spring OAuth Server with UI for login, password reset and registration. Connection the a SQL Server backend

Notifications You must be signed in to change notification settings

udelblue/OAuth-Authorization-Server_with_UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OAuth Server with Login UI

Installation

Application requires ms sql server driver to run.

Open command line in project directory and navigate to 'MavenScripts.bat'. Execute .bat to install sqljdbc jar in maven repository.

cd src
cd main
cd resources
MavenScripts.bat

Configure connection string. Open 'application.yml' to configure. Currently pointed to localhost

spring:
  datasource:
    url: jdbc:sqlserver://localhost:1433;databaseName=OAuth
    username: oauth
    password: oauth#1234
    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
    initialize: true

Configure SMTP. Open 'application.yml' to configure.

app:
  name: name_of_email
  smtp: smtp.test.com
  smtpfrom:  [email protected]

Configure port. Open 'application.yml' to configure.

server:
  port: 8080

Build

Open command line in project directory. Run 'mvn clean package' to clean and build project.

mvn clean package

Run

Open command line in project directory. Run jar

cd target
java -jar OAuth-UI-1.0.jar

Verify the deployment by navigating to your server address in your preferred browser.

127.0.0.1:8080