Skip to content

Commit 5a3a6fe

Browse files
chore(release): rest-sdk-angular-v1.0.0 [skip ci]
# 1.0.0 (2025-05-05) ### Bug Fixes * enable build target in rest-sdk-angular ([5482450](5482450)) * remove old docker files, add new docker files, change packageManager to npm ([708c356](708c356)) * remove use local refresh token ([a160d5a](a160d5a)) * revert versions of libs ([3a6590f](3a6590f)) * sync server with sso project (2025-04-24-10-25) ([4e2ae4d](4e2ae4d)) * update deps ([00e3195](00e3195)) * update deps ([2ed0726](2ed0726)) * update deps ([5c9d66b](5c9d66b)) * update deps ([facb027](facb027)) * update deps ([c2afb7f](c2afb7f)) * update docker files, and change envs with sso projects ([5e0dafb](5e0dafb)) ### Features * add basic logic for auth ([50040e9](50040e9)) * add client for sso, and add frontend for projects ([a0bc258](a0bc258)) * add mail sender ([227ff95](227ff95)) * add maildev ([8f7fcb4](8f7fcb4)) * add RestSdkAngularService and RestSdkService ([5eb64c0](5eb64c0)) * add support translates to project name ([4878ed4](4878ed4)) * add throttler to sign-up ([60a3dad](60a3dad)) * append exists not working auth as sso from another project, for refactor and use it in this project ([bb53f16](bb53f16)) * change folder for generated sdk files ([3d59381](3d59381)) * integrate sso in client and server apps ([0c7d0ab](0c7d0ab)) * move all modules to core folder ([c2f4217](c2f4217)) * move auth module inside sso ([1c82658](1c82658)) * remove code for supabase and authorizer ([9f768d9](9f768d9)) * rename project and remove posts ([21525a9](21525a9)) * rename sdk libs ([fbbbef7](fbbbef7)) * switch random string to totp code for two factor ([a165f8f](a165f8f)) * update auth forms, start add oauth with google ([04e1a22](04e1a22))
1 parent 5482450 commit 5a3a6fe

File tree

3 files changed

+38
-3
lines changed

3 files changed

+38
-3
lines changed

apps/server/INFRASTRUCTURE.MD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,14 +499,14 @@ Minio client for NestJS-mod (Wrapper for https://www.npmjs.com/package/nestjs-mi
499499

500500
| Key | Constraints | Value |
501501
| ------ | ----------- | ----- |
502-
|`events`|**optional**|[ ```{"eventName":"notifications.create","description":"Event that fires after a notification is created","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","html":"<a>Hello {{{firstname}}}</a>","externalTenantId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","operationName":"forget-password","recipientData":{"externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","email":"[email protected]","name":"User Name","phone":"+999999999"},"subject":"Some subject of email","type":"phone","context":{"firstname":"Firstname"},"senderData":{"externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","email":"[email protected]","name":"User Name","phone":"+888888888"},"text":"Hello {{{firstname}}}","recipientGroupId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","createdAt":"2025-05-05T09:33:19.805Z","updatedAt":"2025-05-05T09:33:19.805Z"}}```, ```{"eventName":"notifications.update","description":"Event that fires after a notification is updated","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","html":"<a>Hello {{{firstname}}}</a>","externalTenantId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","operationName":"forget-password","recipientData":{"externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","email":"[email protected]","name":"User Name","phone":"+999999999"},"subject":"Some subject of email","type":"phone","context":{"firstname":"Firstname"},"senderData":{"externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","email":"[email protected]","name":"User Name","phone":"+888888888"},"text":"Hello {{{firstname}}}","recipientGroupId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","createdAt":"2025-05-05T09:33:19.805Z","updatedAt":"2025-05-05T09:33:19.805Z"}}```, ```{"eventName":"notifications.sent","description":"Event that fires after a notification is sent","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","html":"<a>Hello {{{firstname}}}</a>","externalTenantId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","operationName":"forget-password","recipientData":{"externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","email":"[email protected]","name":"User Name","phone":"+999999999"},"subject":"Some subject of email","type":"phone","context":{"firstname":"Firstname"},"senderData":{"externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","email":"[email protected]","name":"User Name","phone":"+888888888"},"text":"Hello {{{firstname}}}","recipientGroupId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","createdAt":"2025-05-05T09:33:19.805Z","updatedAt":"2025-05-05T09:33:19.805Z"}}```, ```{"eventName":"notifications.error","description":"Event that occurs when there is an error sending a notification","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","html":"<a>Hello {{{firstname}}}</a>","externalTenantId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","operationName":"forget-password","recipientData":{"externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","email":"[email protected]","name":"User Name","phone":"+999999999"},"subject":"Some subject of email","type":"phone","context":{"firstname":"Firstname"},"senderData":{"externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","email":"[email protected]","name":"User Name","phone":"+888888888"},"text":"Hello {{{firstname}}}","recipientGroupId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","attempt":2,"error":"Error object","used":false,"createdAt":"2025-05-05T09:33:19.805Z","updatedAt":"2025-05-05T09:33:19.805Z"}}``` ]|
502+
|`events`|**optional**|[ ```{"eventName":"notifications.create","description":"Event that fires after a notification is created","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","html":"<a>Hello {{{firstname}}}</a>","externalTenantId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","operationName":"forget-password","recipientData":{"externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","email":"[email protected]","name":"User Name","phone":"+999999999"},"subject":"Some subject of email","type":"phone","context":{"firstname":"Firstname"},"senderData":{"externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","email":"[email protected]","name":"User Name","phone":"+888888888"},"text":"Hello {{{firstname}}}","recipientGroupId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","createdAt":"2025-05-05T10:20:00.296Z","updatedAt":"2025-05-05T10:20:00.296Z"}}```, ```{"eventName":"notifications.update","description":"Event that fires after a notification is updated","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","html":"<a>Hello {{{firstname}}}</a>","externalTenantId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","operationName":"forget-password","recipientData":{"externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","email":"[email protected]","name":"User Name","phone":"+999999999"},"subject":"Some subject of email","type":"phone","context":{"firstname":"Firstname"},"senderData":{"externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","email":"[email protected]","name":"User Name","phone":"+888888888"},"text":"Hello {{{firstname}}}","recipientGroupId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","createdAt":"2025-05-05T10:20:00.296Z","updatedAt":"2025-05-05T10:20:00.296Z"}}```, ```{"eventName":"notifications.sent","description":"Event that fires after a notification is sent","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","html":"<a>Hello {{{firstname}}}</a>","externalTenantId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","operationName":"forget-password","recipientData":{"externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","email":"[email protected]","name":"User Name","phone":"+999999999"},"subject":"Some subject of email","type":"phone","context":{"firstname":"Firstname"},"senderData":{"externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","email":"[email protected]","name":"User Name","phone":"+888888888"},"text":"Hello {{{firstname}}}","recipientGroupId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","createdAt":"2025-05-05T10:20:00.296Z","updatedAt":"2025-05-05T10:20:00.296Z"}}```, ```{"eventName":"notifications.error","description":"Event that occurs when there is an error sending a notification","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","html":"<a>Hello {{{firstname}}}</a>","externalTenantId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","operationName":"forget-password","recipientData":{"externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","email":"[email protected]","name":"User Name","phone":"+999999999"},"subject":"Some subject of email","type":"phone","context":{"firstname":"Firstname"},"senderData":{"externalUserId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","email":"[email protected]","name":"User Name","phone":"+888888888"},"text":"Hello {{{firstname}}}","recipientGroupId":"77af2745-d972-4e1f-994a-fae8ad71d7ab","attempt":2,"error":"Error object","used":false,"createdAt":"2025-05-05T10:20:00.296Z","updatedAt":"2025-05-05T10:20:00.296Z"}}``` ]|
503503

504504
#### Modules that use feature configuration
505505
##### Feature module name: sso
506506

507507
| Key | Constraints | Value |
508508
| ------ | ----------- | ----- |
509-
|`events`|**optional**|[ ```{"eventName":"sso.sign-up","description":"An event that is triggered after a new user registers","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","appData":{"custom":"data"},"birthdate":"2025-05-05T09:33:19.975Z","createdAt":"2025-05-05T09:33:19.975Z","email":"[email protected]","emailVerifiedAt":"2025-05-05T09:33:19.975Z","firstname":"Firstname","gender":"m","lastname":"Lastname","phone":"+888888888","phoneVerifiedAt":"2025-05-05T09:33:19.975Z","picture":"http://example.com/image/77af2745-d972-4e1f-994a-fae8ad71d7ab.jpg","revokedAt":"2025-05-05T09:33:19.975Z","roles":"user","updatedAt":"2025-05-05T09:33:19.975Z","username":"nickname","lang":"en","timezone":0}}```, ```{"eventName":"sso.sign-in","description":"An event that is triggered after a user login","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","appData":{"custom":"data"},"birthdate":"2025-05-05T09:33:19.975Z","createdAt":"2025-05-05T09:33:19.975Z","email":"[email protected]","emailVerifiedAt":"2025-05-05T09:33:19.975Z","firstname":"Firstname","gender":"m","lastname":"Lastname","phone":"+888888888","phoneVerifiedAt":"2025-05-05T09:33:19.975Z","picture":"http://example.com/image/77af2745-d972-4e1f-994a-fae8ad71d7ab.jpg","revokedAt":"2025-05-05T09:33:19.975Z","roles":"user","updatedAt":"2025-05-05T09:33:19.975Z","username":"nickname","lang":"en","timezone":0}}```, ```{"eventName":"sso.complete-sign-up","description":"An event that is triggered after complete a new user registers","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","appData":{"custom":"data"},"birthdate":"2025-05-05T09:33:19.975Z","createdAt":"2025-05-05T09:33:19.975Z","email":"[email protected]","emailVerifiedAt":"2025-05-05T09:33:19.975Z","firstname":"Firstname","gender":"m","lastname":"Lastname","phone":"+888888888","phoneVerifiedAt":"2025-05-05T09:33:19.975Z","picture":"http://example.com/image/77af2745-d972-4e1f-994a-fae8ad71d7ab.jpg","revokedAt":"2025-05-05T09:33:19.975Z","roles":"user","updatedAt":"2025-05-05T09:33:19.975Z","username":"nickname","lang":"en","timezone":0}}```, ```{"eventName":"sso.sign-out","description":"An event that is triggered after a user logout","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","appData":{"custom":"data"},"birthdate":"2025-05-05T09:33:19.975Z","createdAt":"2025-05-05T09:33:19.975Z","email":"[email protected]","emailVerifiedAt":"2025-05-05T09:33:19.975Z","firstname":"Firstname","gender":"m","lastname":"Lastname","phone":"+888888888","phoneVerifiedAt":"2025-05-05T09:33:19.975Z","picture":"http://example.com/image/77af2745-d972-4e1f-994a-fae8ad71d7ab.jpg","revokedAt":"2025-05-05T09:33:19.975Z","roles":"user","updatedAt":"2025-05-05T09:33:19.975Z","username":"nickname","lang":"en","timezone":0}}```, ```{"eventName":"sso.forgot-password","description":"An event that is triggered after a user call forgot password method","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","appData":{"custom":"data"},"birthdate":"2025-05-05T09:33:19.975Z","createdAt":"2025-05-05T09:33:19.975Z","email":"[email protected]","emailVerifiedAt":"2025-05-05T09:33:19.975Z","firstname":"Firstname","gender":"m","lastname":"Lastname","phone":"+888888888","phoneVerifiedAt":"2025-05-05T09:33:19.975Z","picture":"http://example.com/image/77af2745-d972-4e1f-994a-fae8ad71d7ab.jpg","revokedAt":"2025-05-05T09:33:19.975Z","roles":"user","updatedAt":"2025-05-05T09:33:19.975Z","username":"nickname","lang":"en","timezone":0}}```, ```{"eventName":"sso.complete-forgot-password","description":"An event that is triggered after a user calls to confirm a forgotten password change","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","appData":{"custom":"data"},"birthdate":"2025-05-05T09:33:19.975Z","createdAt":"2025-05-05T09:33:19.975Z","email":"[email protected]","emailVerifiedAt":"2025-05-05T09:33:19.975Z","firstname":"Firstname","gender":"m","lastname":"Lastname","phone":"+888888888","phoneVerifiedAt":"2025-05-05T09:33:19.975Z","picture":"http://example.com/image/77af2745-d972-4e1f-994a-fae8ad71d7ab.jpg","revokedAt":"2025-05-05T09:33:19.975Z","roles":"user","updatedAt":"2025-05-05T09:33:19.975Z","username":"nickname","lang":"en","timezone":0}}```, ```{"eventName":"sso.update-profile","description":"An event that fires after user information is updated.","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","appData":{"custom":"data"},"birthdate":"2025-05-05T09:33:19.975Z","createdAt":"2025-05-05T09:33:19.975Z","email":"[email protected]","emailVerifiedAt":"2025-05-05T09:33:19.975Z","firstname":"Firstname","gender":"m","lastname":"Lastname","phone":"+888888888","phoneVerifiedAt":"2025-05-05T09:33:19.975Z","picture":"http://example.com/image/77af2745-d972-4e1f-994a-fae8ad71d7ab.jpg","revokedAt":"2025-05-05T09:33:19.975Z","roles":"user","updatedAt":"2025-05-05T09:33:19.975Z","username":"nickname","lang":"en","timezone":0}}``` ]|
509+
|`events`|**optional**|[ ```{"eventName":"sso.sign-up","description":"An event that is triggered after a new user registers","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","appData":{"custom":"data"},"birthdate":"2025-05-05T10:20:00.462Z","createdAt":"2025-05-05T10:20:00.462Z","email":"[email protected]","emailVerifiedAt":"2025-05-05T10:20:00.462Z","firstname":"Firstname","gender":"m","lastname":"Lastname","phone":"+888888888","phoneVerifiedAt":"2025-05-05T10:20:00.462Z","picture":"http://example.com/image/77af2745-d972-4e1f-994a-fae8ad71d7ab.jpg","revokedAt":"2025-05-05T10:20:00.462Z","roles":"user","updatedAt":"2025-05-05T10:20:00.462Z","username":"nickname","lang":"en","timezone":0}}```, ```{"eventName":"sso.sign-in","description":"An event that is triggered after a user login","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","appData":{"custom":"data"},"birthdate":"2025-05-05T10:20:00.462Z","createdAt":"2025-05-05T10:20:00.462Z","email":"[email protected]","emailVerifiedAt":"2025-05-05T10:20:00.462Z","firstname":"Firstname","gender":"m","lastname":"Lastname","phone":"+888888888","phoneVerifiedAt":"2025-05-05T10:20:00.462Z","picture":"http://example.com/image/77af2745-d972-4e1f-994a-fae8ad71d7ab.jpg","revokedAt":"2025-05-05T10:20:00.462Z","roles":"user","updatedAt":"2025-05-05T10:20:00.462Z","username":"nickname","lang":"en","timezone":0}}```, ```{"eventName":"sso.complete-sign-up","description":"An event that is triggered after complete a new user registers","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","appData":{"custom":"data"},"birthdate":"2025-05-05T10:20:00.462Z","createdAt":"2025-05-05T10:20:00.462Z","email":"[email protected]","emailVerifiedAt":"2025-05-05T10:20:00.462Z","firstname":"Firstname","gender":"m","lastname":"Lastname","phone":"+888888888","phoneVerifiedAt":"2025-05-05T10:20:00.462Z","picture":"http://example.com/image/77af2745-d972-4e1f-994a-fae8ad71d7ab.jpg","revokedAt":"2025-05-05T10:20:00.462Z","roles":"user","updatedAt":"2025-05-05T10:20:00.462Z","username":"nickname","lang":"en","timezone":0}}```, ```{"eventName":"sso.sign-out","description":"An event that is triggered after a user logout","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","appData":{"custom":"data"},"birthdate":"2025-05-05T10:20:00.462Z","createdAt":"2025-05-05T10:20:00.462Z","email":"[email protected]","emailVerifiedAt":"2025-05-05T10:20:00.462Z","firstname":"Firstname","gender":"m","lastname":"Lastname","phone":"+888888888","phoneVerifiedAt":"2025-05-05T10:20:00.462Z","picture":"http://example.com/image/77af2745-d972-4e1f-994a-fae8ad71d7ab.jpg","revokedAt":"2025-05-05T10:20:00.462Z","roles":"user","updatedAt":"2025-05-05T10:20:00.462Z","username":"nickname","lang":"en","timezone":0}}```, ```{"eventName":"sso.forgot-password","description":"An event that is triggered after a user call forgot password method","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","appData":{"custom":"data"},"birthdate":"2025-05-05T10:20:00.462Z","createdAt":"2025-05-05T10:20:00.462Z","email":"[email protected]","emailVerifiedAt":"2025-05-05T10:20:00.462Z","firstname":"Firstname","gender":"m","lastname":"Lastname","phone":"+888888888","phoneVerifiedAt":"2025-05-05T10:20:00.462Z","picture":"http://example.com/image/77af2745-d972-4e1f-994a-fae8ad71d7ab.jpg","revokedAt":"2025-05-05T10:20:00.462Z","roles":"user","updatedAt":"2025-05-05T10:20:00.462Z","username":"nickname","lang":"en","timezone":0}}```, ```{"eventName":"sso.complete-forgot-password","description":"An event that is triggered after a user calls to confirm a forgotten password change","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","appData":{"custom":"data"},"birthdate":"2025-05-05T10:20:00.462Z","createdAt":"2025-05-05T10:20:00.462Z","email":"[email protected]","emailVerifiedAt":"2025-05-05T10:20:00.462Z","firstname":"Firstname","gender":"m","lastname":"Lastname","phone":"+888888888","phoneVerifiedAt":"2025-05-05T10:20:00.462Z","picture":"http://example.com/image/77af2745-d972-4e1f-994a-fae8ad71d7ab.jpg","revokedAt":"2025-05-05T10:20:00.462Z","roles":"user","updatedAt":"2025-05-05T10:20:00.462Z","username":"nickname","lang":"en","timezone":0}}```, ```{"eventName":"sso.update-profile","description":"An event that fires after user information is updated.","example":{"id":"77af2745-d972-4e1f-994a-fae8ad71d7ab","appData":{"custom":"data"},"birthdate":"2025-05-05T10:20:00.462Z","createdAt":"2025-05-05T10:20:00.462Z","email":"[email protected]","emailVerifiedAt":"2025-05-05T10:20:00.462Z","firstname":"Firstname","gender":"m","lastname":"Lastname","phone":"+888888888","phoneVerifiedAt":"2025-05-05T10:20:00.462Z","picture":"http://example.com/image/77af2745-d972-4e1f-994a-fae8ad71d7ab.jpg","revokedAt":"2025-05-05T10:20:00.462Z","roles":"user","updatedAt":"2025-05-05T10:20:00.462Z","username":"nickname","lang":"en","timezone":0}}``` ]|
510510

511511
### SsoModule
512512
#### Shared providers

0 commit comments

Comments
 (0)