Skip to content
This repository has been archived by the owner on Aug 5, 2019. It is now read-only.
/ oauth-service Public archive

An OAuth 2.0 Server as a Service - supports e-mail and Facebook/Google login

License

Notifications You must be signed in to change notification settings

moodysalem/oauth-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status oauth-service

An OAuth 2.0 Software as a Service Platform built using Java, FreeMarker and Maven. Powers the login page behind OAuth2Cloud

API Documentation

Powered by swagger

Build

mvn clean package

Run locally in Jetty container

mvn compile jetty:run -Pprofile-with-environment-variables

Environment Configuration

public static final String JDBC_CONNECTION_STRING = System.getProperty("JDBC_CONNECTION_STRING"),
            JDBC_CONNECTION_USERNAME = System.getProperty("JDBC_CONNECTION_USERNAME"),
            JDBC_CONNECTION_PASSWORD = System.getProperty("JDBC_CONNECTION_PASSWORD"),
            SMTP_HOST = System.getProperty("SMTP_HOST"),
            SMTP_USERNAME = System.getProperty("SMTP_USERNAME"),
            SMTP_PASSWORD = System.getProperty("SMTP_PASSWORD"),
            LIQUIBASE_CONTEXT = System.getProperty("LIQUIBASE_CONTEXT", "prod"),
            SEND_EMAILS_FROM = System.getProperty("SEND_EMAILS_FROM", "do-not-reply@oauth2cloud.com"),
            ENCRYPTION_SECRET = System.getProperty("ENCRYPTION_SECRET");