udelblue / OAuth-Authorization-Server_with_UI

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:  noreply@test.com

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

About

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


Languages

Language:Java 44.9%Language:JavaScript 34.1%Language:HTML 15.9%Language:CSS 4.9%Language:Batchfile 0.1%