-
Notifications
You must be signed in to change notification settings - Fork 6
Commits on Nov 17, 2021
-
feat: authentication system server (#72)
* auth server imp * fix * - fix state parameter - add x509 cert implementation * - add x509 cert to key store - fix request is not updated - fix refresh token flow - handle login error messages - get first key as default if kid is not presented * - fix linting issues * - accept form payload in login request * - code enhancement - fix PR comments * - fix devMode * - give credentials type a better name * - add test for User_GetAuthByProvider * - define custom error for invalid login * - enhance unique list method performance * - fix package alias * - refactor storage init * - use usecase instead of controller - remove unused controller method * - move shared clients into separated file * - handle concurrency in auth storage * - fix go mod * - refactor part of the code * - fix error handling - load Pkix from config * - use dummy DN for the cert - remove unnecessary fields from the cert * - get user info from db * - add missing cn - pass get user func instead of userUseCase * - code enhancement
Configuration menu - View commit details
-
Copy full SHA for b6b6ece - Browse repository at this point
Copy the full SHA b6b6eceView commit details
Commits on Nov 18, 2021
-
- sign the issued access token with signingKey (#76)
- remove default key selecting
Configuration menu - View commit details
-
Copy full SHA for b805bd7 - Browse repository at this point
Copy the full SHA b805bd7View commit details
Commits on Nov 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 482518f - Browse repository at this point
Copy the full SHA 482518fView commit details
Commits on Nov 24, 2021
-
* - logout api * - remove the unnecessary wrap method - fix http redirection status * - add another logout endpoint for auth0/auth0-react
Configuration menu - View commit details
-
Copy full SHA for 58aeb13 - Browse repository at this point
Copy the full SHA 58aeb13View commit details
Commits on Nov 25, 2021
-
* feat: create mailer (go-mailer is used) * fix linter * sendGrid implementation * refactor: separate smtp and sendgrid * refactor: add sender name to config * fix newWithSMTP wrong parameter * mixed email content break down MailerConfig struct * resolve notes * resolve notes testing * testing * test cases * test cases * Merge branch 'feat/authentication-system' of https://github.com/reearth/reearth-backend into auth/mailer # Conflicts: # go.mod # internal/app/config.go * Merge branch 'feat/authentication-system' of https://github.com/reearth/reearth-backend into auth/mailer # Conflicts: # go.mod * swap plain and html contents * switch to alternative * remove unused functions * validate email and smtp url
Configuration menu - View commit details
-
Copy full SHA for 2632fe9 - Browse repository at this point
Copy the full SHA 2632fe9View commit details
Commits on Dec 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 532423b - Browse repository at this point
Copy the full SHA 532423bView commit details -
feat: authentication system - mongo storage (#84)
* - Model - Repo * - fix go mod * - move auth storage logic to usecase\interactor * - fix lint issue * - fix PR comments * implement memory storage for authRequest repo
Configuration menu - View commit details
-
Copy full SHA for 3913545 - Browse repository at this point
Copy the full SHA 3913545View commit details
Commits on Dec 13, 2021
-
* remove sugnup mutation * new signup logic * merge auth0 and signup logic * lint * revert signup mutation * resolve notes * remove password length * resolve notes * test cases * change comparing method * resolve notes * match password * update user data-layer * feat: password reset (#79) * - password reset * - refactor * - implement the memory repo * - remove unnecessary structs * - fix password reset token validation - add unit test * - fix linting * - fix unit test * - refactor * - replace uuid lib - rename validate method * - fix go mod * - fix go mod * - enhance unit test * - enhance unit test * mock Co-authored-by: rot1024 <aayhrot@gmail.com> * feat: send mail (#86) * - send mail * enhancement * fix log * notes * - add email design * resolve * fix user model * refactor: move to bcrypt * update verify password checks Co-authored-by: yk-eukarya <81808708+yk-eukarya@users.noreply.github.com> Co-authored-by: rot1024 <aayhrot@gmail.com> Co-authored-by: yk <yk.eukarya@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1e6d442 - Browse repository at this point
Copy the full SHA 1e6d442View commit details
Commits on Jan 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3ce89d7 - Browse repository at this point
Copy the full SHA 3ce89d7View commit details
Commits on Jan 13, 2022
-
feat: store auth cert in db (#88)
* - save the key and the cert of auth server in mongo db * - fix lint * - make auth srv returns error instead of panicking * - lock config * - refactor - fix memory imp * - fix load method * - fix load method * - add minimum duration to reload config * - fix pr comments * - fix lock logic * fix lint * - fix config repo - use config repo in migrations * - remove unused code * store cert as string * fix string conversion
Configuration menu - View commit details
-
Copy full SHA for e6312a7 - Browse repository at this point
Copy the full SHA e6312a7View commit details
Commits on Jan 26, 2022
-
Merge remote-tracking branch 'oss/main' into feat/authentication-system
# Conflicts: # pkg/user/builder.go # pkg/user/builder_test.go # pkg/user/initializer_test.go # pkg/user/user.go
Configuration menu - View commit details
-
Copy full SHA for 191da07 - Browse repository at this point
Copy the full SHA 191da07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d784af - Browse repository at this point
Copy the full SHA 3d784afView commit details
Commits on Feb 4, 2022
-
feat: auth client support multi issuer (#102)
* upgrade to go-jwt-middleware/v2 * omp multi iss * imp multi iss * fix pr Comments
Configuration menu - View commit details
-
Copy full SHA for 5ae8a8c - Browse repository at this point
Copy the full SHA 5ae8a8cView commit details
Commits on Feb 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7f136dd - Browse repository at this point
Copy the full SHA 7f136ddView commit details
Commits on Mar 4, 2022
-
feat: validate password criteria (#116)
* password criteria * fix linter * Update pkg/user/user.go Co-authored-by: yk-eukarya <81808708+yk-eukarya@users.noreply.github.com> * Update pkg/user/user.go Co-authored-by: rot1024 <aayhrot@gmail.com> * fix test * add test case for non-latin characters password Co-authored-by: yk-eukarya <81808708+yk-eukarya@users.noreply.github.com> Co-authored-by: rot1024 <aayhrot@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d3f508d - Browse repository at this point
Copy the full SHA d3f508dView commit details
Commits on Mar 10, 2022
-
Merge remote-tracking branch 'oss/main' into feat/authentication-system
# Conflicts: # go.mod # go.sum # internal/app/app.go # internal/app/public.go
Configuration menu - View commit details
-
Copy full SHA for 8d6713e - Browse repository at this point
Copy the full SHA 8d6713eView commit details -
Configuration menu - View commit details
-
Copy full SHA for db7e4ac - Browse repository at this point
Copy the full SHA db7e4acView commit details
Commits on Mar 11, 2022
-
refactor: refactor signup code (#120)
Co-authored-by: yk-eukarya <81808708+yk-eukarya@users.noreply.github.com> Co-authored-by: yk <yk.eukarya@gmail.com> Co-authored-by: rot1024 <aayhrot@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for da25f18 - Browse repository at this point
Copy the full SHA da25f18View commit details