Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Account bootstrapping [DEV-3051] #306

Merged
merged 11 commits into from
Aug 10, 2023
Merged

feat: Account bootstrapping [DEV-3051] #306

merged 11 commits into from
Aug 10, 2023

Conversation

lampkin-diet
Copy link
Contributor

@lampkin-diet lampkin-diet commented Jul 26, 2023

  • Add CredentialAccount creating if it's not created yet
  • Add default role assigning if the list of roles is empty
  • Add token populating if there are absent or not enough even for DID creation

- Add address into account creating response
@ankurdotb
Copy link
Contributor

@lampkin-diet lampkin-diet marked this pull request as draft August 8, 2023 07:37
@lampkin-diet lampkin-diet marked this pull request as ready for review August 8, 2023 07:40
@lampkin-diet lampkin-diet changed the title feat: Add auto-populating tokens for newcomers [DEV-3051] feat: Account bootstrapping [DEV-3051] Aug 8, 2023
Copy link
Contributor

@DaevMithran DaevMithran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, requested to move cosmjs functions entirely to sdk utils

src/controllers/customer.ts Outdated Show resolved Hide resolved
src/services/customer.ts Show resolved Hide resolved
docker/Dockerfile Show resolved Hide resolved
DaevMithran
DaevMithran previously approved these changes Aug 10, 2023
@lampkin-diet lampkin-diet merged commit d157535 into develop Aug 10, 2023
@lampkin-diet lampkin-diet deleted the DEV-3051 branch August 10, 2023 09:42
cheqd-bot bot pushed a commit that referenced this pull request Aug 10, 2023
## [2.7.0-develop.6](2.7.0-develop.5...2.7.0-develop.6) (2023-08-10)

### Features

* Account bootstrapping [DEV-3051] ([#306](#306)) ([d157535](d157535))
@cheqd-bot
Copy link

cheqd-bot bot commented Aug 10, 2023

🎉 This PR is included in version 2.7.0-develop.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

cheqd-bot bot pushed a commit that referenced this pull request Aug 10, 2023
## [2.8.0-develop.1](2.7.0...2.8.0-develop.1) (2023-08-10)

### Features

* Account bootstrapping [DEV-3051] ([#306](#306)) ([d157535](d157535))
* Remove `DEFAULT_CUSTOMER_ID` [DEV-2851] ([#318](#318)) ([c072af6](c072af6))

### Bug Fixes

* Add data reset before each check ([#326](#326)) ([659a120](659a120))
* Add M2M token refreshing [DEV-3117] ([#327](#327)) ([be04d92](be04d92))
* Cleanups ([#314](#314)) ([3b8e4ad](3b8e4ad))
* Cleanups [DEV-3050] ([#307](#307)) ([2e6b969](2e6b969))
* Fix auth button ([#324](#324)) ([3f88668](3f88668))
* Implement dynamic login/logout button based on user's logged in state [DEV-3092] ([#316](#316)) ([4a2e40d](4a2e40d))
* Move to using scopes correctly from LogTo [DEV-3090] ([#317](#317)) ([3f5e16b](3f5e16b))
@cheqd-bot
Copy link

cheqd-bot bot commented Aug 10, 2023

🎉 This PR is included in version 2.8.0-develop.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

cheqd-bot bot pushed a commit that referenced this pull request Aug 15, 2023
## [2.8.0](2.7.1...2.8.0) (2023-08-15)

### Features

* Account bootstrapping [DEV-3051] ([#306](#306)) ([d157535](d157535))
* Remove `DEFAULT_CUSTOMER_ID` [DEV-2851] ([#318](#318)) ([c072af6](c072af6))

### Bug Fixes

* Add data reset before each check ([#326](#326)) ([659a120](659a120))
* Add M2M token refreshing [DEV-3117] ([#327](#327)) ([be04d92](be04d92))
* Added base reference syntax + error handling [DEV-3127] ([#338](#338)) ([4b6048d](4b6048d))
* Cleanups ([#314](#314)) ([3b8e4ad](3b8e4ad))
* Cleanups [DEV-3050] ([#307](#307)) ([2e6b969](2e6b969))
* Faucet setup configuration variables [DEV-3135] ([#342](#342)) ([eb7feac](eb7feac))
* Fix auth button ([#324](#324)) ([3f88668](3f88668))
* Implement dynamic login/logout button based on user's logged in state [DEV-3092] ([#316](#316)) ([4a2e40d](4a2e40d))
* Move to using scopes correctly from LogTo [DEV-3090] ([#317](#317)) ([3f5e16b](3f5e16b))
* Swagger UI fixes and other small tech debts [DEV-3121] ([#339](#339)) ([d7b3daa](d7b3daa))

### Reverts

* LOGTO_MANAGEMENT_API config variable ([afdccbc](afdccbc))
@cheqd-bot
Copy link

cheqd-bot bot commented Aug 15, 2023

🎉 This PR is included in version 2.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@cheqd-bot cheqd-bot bot added the released label Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants