An open API service indexing awesome lists of open source software.

https://github.com/udelblue/oauth-authorization-server_with_ui

Spring OAuth Server with UI for login, password reset and registration. Connection the a SQL Server backend
https://github.com/udelblue/oauth-authorization-server_with_ui

authentication authorization authorization-flow implicit-flow java login login-flow login-oauth login-system loginpage oauth oauth-application oauth2 oauth2-server registration-forms spring-boot spring-cloud spring-oauth2

Last synced: 10 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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.

```sh
cd src
cd main
cd resources
MavenScripts.bat
```

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

```sh
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.

```sh
app:
name: name_of_email
smtp: smtp.test.com
smtpfrom: noreply@test.com
```

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

```sh
server:
port: 8080
```

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

```sh
mvn clean package
```

### Run

Open command line in project directory. Run jar

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

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

```sh
127.0.0.1:8080
```