All Projects → hedza06 → spring-boot-otp

hedza06 / spring-boot-otp

Licence: other
Spring Boot OTP technique.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to spring-boot-otp

passwordless
Passwordless authentication server, supports OTP, WebAuthn, plan to implement TOTP and mobile biometric authentication
Stars: ✭ 34 (-26.09%)
Mutual labels:  otp, otp-generator
rabbit
Build Elixir applications with RabbitMQ
Stars: ✭ 36 (-21.74%)
Mutual labels:  otp
totp-cli
Authy/Google Authenticator like TOTP CLI tool written in Go.
Stars: ✭ 81 (+76.09%)
Mutual labels:  otp-generator
otp-view
OTP View
Stars: ✭ 32 (-30.43%)
Mutual labels:  otp
otp
📫 Fault tolerant multicore programs with actors
Stars: ✭ 169 (+267.39%)
Mutual labels:  otp
MinaOTP
TOTP authenticator implement as a wechat mini program
Stars: ✭ 30 (-34.78%)
Mutual labels:  otp
ants
What is this, a repo for ants?
Stars: ✭ 23 (-50%)
Mutual labels:  otp
nitrokey-storage-firmware
Firmware for the Nitrokey Storage device
Stars: ✭ 53 (+15.22%)
Mutual labels:  otp
supervisorring
otp/supervisor-like interface to supervise distributed processes
Stars: ✭ 15 (-67.39%)
Mutual labels:  otp
laravel-otp
A laravel package to protect your routes with one time passwords (otp)
Stars: ✭ 147 (+219.57%)
Mutual labels:  otp
ios-application
A native, lightweight and secure one-time-password (OTP) client built for iOS; Raivo OTP!
Stars: ✭ 581 (+1163.04%)
Mutual labels:  otp
hotp-php
HMAC Based One Time Passwords in PHP. RFC4226 and RFC6238 compliant.
Stars: ✭ 51 (+10.87%)
Mutual labels:  otp
angular-code-input
Code (number/chars/otp/password) input component for angular 7, 8, 9, 10, 11, 12+ projects including Ionic 4, 5 +
Stars: ✭ 112 (+143.48%)
Mutual labels:  otp
multiOTPCredentialProvider
multiOTP Credential Provider is a V2 Credential Provider for Windows 7/8/8.1/10/2012(R2)/2016 with options like RDP only and UPN name support
Stars: ✭ 121 (+163.04%)
Mutual labels:  otp
elixir-fire-brigade-workshop
Workshop "Join the Elixir Fire Brigade - Level-up Your Elixir Debugging Skills" (ElixirConf US 2017)
Stars: ✭ 14 (-69.57%)
Mutual labels:  otp
clojang
Clojure API for Erlang/OTP Communications (built on jiface)
Stars: ✭ 61 (+32.61%)
Mutual labels:  otp
cre
common runtime environment for distributed programming languages
Stars: ✭ 20 (-56.52%)
Mutual labels:  otp
otp-authenticator-webapp
A 'Google Authenticator' like Single Page Application
Stars: ✭ 69 (+50%)
Mutual labels:  otp
php-totp
HOTP and TOTP token generation
Stars: ✭ 33 (-28.26%)
Mutual labels:  otp
yubico-rs
Yubikey client API library, Challenge-Response & Configuration
Stars: ✭ 39 (-15.22%)
Mutual labels:  otp

Spring Boot OTP (One time password authentication)

Spring Boot project with demonstration of OTP authentication technique.

Running the project

  1. Create database with name otp
  2. Open terminal and navigate to your project
  3. Type command mvn install
  4. Type command mvn spring-boot:run

Check application running state

Route: http://localhost:8080/

Available profiles

  • Development profile (dev)
  • Production profile (prod)

Authentication

Route: /auth/authenticate
Method: POST
Content-Type: application/json
Request payload: { username: "admin", password: "admin" }
Response: { id_token: "token_hash" }

OTP routes that you can called after getting access token

  1. Generate OTP and send it to e-mail
    Route: /api/otp/generate
    Method: POST
    Empty request body in this case.

  2. Validate OTP
    Route: /api/otp/validate
    Method: POST
    Example Request Payload: { "otp": "your otp number" }


Packaging for production

  1. mvn clean
  2. mvn -Pprod package

Author

Heril Muratović
Software Engineer

Mobile: +38269657962
E-mail: [email protected]
Skype: hedza06
Twitter: hedzakirk
LinkedIn: https://www.linkedin.com/in/heril-muratovi%C4%87-021097132/
StackOverflow: https://stackoverflow.com/users/4078505/heril-muratovic

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].