Skip to content

Latest commit

 

History

History
76 lines (47 loc) · 1.18 KB

File metadata and controls

76 lines (47 loc) · 1.18 KB

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