commons-auth

simple implementation of an authentication endpoint with jwt, password-reset etc.

MIT License

Stars
15
Committers
2

Bot releases are visible (Hide)

commons-auth - 4.4.1 Latest Release

Published by github-actions[bot] about 2 months ago

New version 4.4.1 published

commons-auth - 4.4.0

Published by github-actions[bot] 2 months ago

  • upgraded dependencies 2.7.18 and others
  • added compatibility to 2.7 by added extra autoconfig-files
commons-auth -

Published by melistik over 2 years ago

  • added api/user/{usernameOrId} endpoint
  • upgraded spring-boot version 2.5.9
commons-auth -

Published by melistik over 3 years ago

  • upgraded spring-boot 2.5.1 and other depth
  • upgraded commons-rest 2.2.4
  • changed nullable to javax + prepared open-api
  • improved docs and prepared for opane-api documentation
commons-auth -

Published by melistik over 3 years ago

  • fixed OAuth refresh token
  • fixed automatic refresh within AuthClientLoginRequestFactory
  • upgraded spring-boot 2.3.8
  • jpa added modelgen
commons-auth -

Published by melistik almost 4 years ago

  • added password-reset option for admin
  • extended /user/api see also swagger-doc
commons-auth -

Published by melistik almost 4 years ago

  • fixed postmark autoconfiguration
commons-auth - 4.1.0

Published by melistik about 4 years ago

  • refactored Nullable replaced by javax.annotation.Nullable
  • upgraded to commons-rest 2.1.0 moved HasFirstNameLastName + HasKeyValue
  • upgraded guava 30.0-jre
  • jpa breaking changes
    • renamed co_user_roles -> co_user_role
    • renamed co_user_keyvalue_pairs -> co_user_keyvalue
    • renamed co_invite_keyvalue_pairs -> co_invite_keyvalue
commons-auth -

Published by melistik about 4 years ago

  • correct key/value toLowerCase issues
commons-auth - 4.0.0

Published by melistik about 4 years ago

  • introduced API-Interfaces for Resources to allow internal call without http
  • keyValue api-change
    • key is now more flexible "Allowed key chars are a-Z, 0-9 and _-.#"
    • no value length limit to allow flexible json-values (dto's have now some common jackson-readers)
    • key with # prefix will not be part within jwt-token (similar to _) but will get returned when fetching user-info (or /me endpoint)
  • prefixed jpa entities/tables with co_
    • user -> co_user
    • user_roles -> co_user_roles
    • user_keyvalue_pairs -> co_user_keyvalue_pairs
    • you need to perform with manually before starting your application after upgrade!
  • jpa: removed fetch.EAGER to improve performance when used entity as relations
  • monitoring
    • merged events and added some new for impersonate, refresh + requestMe...
    • added ActiveUserStore to track current active users
  • mailing
    • upgraded to new emai-template-builder with new theme of postmark
    • upgraded to new email-templates and improved configurations for logo
    • refactor: removed spring-boot-starter-mail + introduced EmailSender interface and refactored tests by this step
    • introduced extra module commons-auth-email-smtp to allow default config for spring-boot-starter-mail
    • added postmark sender als alternative to smtp version
  • added EmailChangeEvent + UsernameChangeEvent
  • fix: never set avatar to null when avatarService is active
  • introduced JwtTokenStore-Interface to allow different implentation for refreshing accessToken (default http/optional internal service)
  • refactored many services with some internal breaking changes
  • upgraded spring-boot 2.3.4, guava 29.0, jjwt 0.11.2, passay 1.6.0 + commons-rest 2.0.5
commons-auth -

Published by melistik about 4 years ago

  • updated swagger doc
  • added EmailChangeEvent + UsernameChangeEvent
  • fixed AppInviteJpaEntity with fetch join of keyValues
  • prepared for java 11
commons-auth -

Published by melistik about 4 years ago

  • monitoring
    • merged events and added some new for impersonate, refresh + requestMe...
    • added ActiveUserStore to track current active users
  • mailing
    • upgraded to new emai-template-builder with new theme of postmark
    • upgraded to new email-templates and improved configurations for logo
    • refactor: removed spring-boot-starter-mail + introduced EmailSender interface and refactored tests by this step
    • introduced extra module commons-auth-email-smtp to allow default config for spring-boot-starter-mail
    • added postmark sender als alternative to smtp version
  • jpa
    • removed fetch.EAGER to improve performance when used entity as relations
  • fixes
    • never set avatar to null when avatarService is active
commons-auth - 4.0.0-RC2

Published by melistik over 4 years ago

  • prefixed jpa entities/tables with co_
    • user -> co_user
    • user_roles -> co_user_roles
    • user_keyvalue_pairs -> co_user_keyvalue_pairs
    • you need to perform with manually before starting your application after upgrade!
  • fixed LoginApiService refreshing token returned wrong roles
commons-auth -

Published by melistik over 4 years ago

  • upgraded spring-boot 2.3.1, guava 29.0, jjwt 0.11.2, passay 1.6.0 + commons-rest 2.0.5
  • refactored many services with some internal breaking changes
  • introduced API-Interfaces for Resources to allow internal call without http
  • introduced JwtTokenStore-Interface to allow different implentation for refreshing accessToken (default http/optional internal service)
  • smaller fixes
commons-auth - 3.3.5

Published by melistik over 4 years ago

  • upgraded spring boot 2.2.6
  • refactored SimpleMailContentConfig
    • renamed to DefaultMailContentConfig
    • added many protected methods to customize colors, text etc.
commons-auth - 3.3.4

Published by melistik over 4 years ago

  • lowered parameter from AppUserEntity to AppUserReference to get rid of security UserDetails within EmailService
commons-auth -

Published by melistik over 4 years ago

  • added option to login also via email-address
commons-auth -

Published by melistik over 4 years ago

  • fixed translation for valid username
  • fixed forgotController optional else
commons-auth -

Published by melistik over 4 years ago

  • fixed invite email now with message of invitor
  • added for background-compatibility the verificationUrl parameter to password-reset
commons-auth - 3.3.0

Published by melistik over 4 years ago

  • improved error handling for validations
    • initially password-errors had been mapped to field password but in some situations it's currentPassword, newPassword etc.
    • this behaviour has been improved and changed so that the error-fields fit to the posted object
  • updated jjwt 0.11.1