Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

feat: #19 prepare bootstrap data in oidc callback #40

Merged
merged 1 commit into from
Jul 24, 2020

Conversation

llorllale
Copy link
Contributor

@llorllale llorllale commented Jul 23, 2020

closes #19

After the user is redirected back from the OIDC provider, hub-auth will onboard the user in the TrustBloc network (TODO) and redirect to the UI (TODO).

Misc: some HTTP status codes were fixed based on the error scenario

Signed-off-by: George Aristy george.aristy@securekey.com

@cla-bot cla-bot bot added the cla-signed label Jul 23, 2020
@codecov
Copy link

codecov bot commented Jul 23, 2020

Codecov Report

Merging #40 into master will increase coverage by 1.01%.
The diff coverage is 92.30%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #40      +/-   ##
==========================================
+ Coverage   85.80%   86.82%   +1.01%     
==========================================
  Files           5        6       +1     
  Lines         310      334      +24     
==========================================
+ Hits          266      290      +24     
+ Misses         29       28       -1     
- Partials       15       16       +1     
Impacted Files Coverage Δ
pkg/bootstrap/user/userprofile.go 87.50% <87.50%> (ø)
pkg/restapi/operation/operations.go 85.98% <94.44%> (+2.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eea0e67...d054ff7. Read the comment docs.

@llorllale llorllale changed the title WIP: prepare wallet bootstrap data feat: #19 prepare bootstrap data in oidc callback Jul 23, 2020

// Provider mock store provider.
type Provider struct {
Stores map[string]storage.Store
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this mock storage provider was created just for this feature right here

@llorllale llorllale added the type: enhancement New feature or request label Jul 23, 2020
@llorllale llorllale added this to the 0.1.4 milestone Jul 23, 2020
pkg/bootstrap/user/userprofile.go Outdated Show resolved Hide resolved
pkg/bootstrap/user/userprofile.go Show resolved Hide resolved
pkg/bootstrap/user/userprofile.go Show resolved Hide resolved
pkg/bootstrap/user/userprofile.go Show resolved Hide resolved
pkg/restapi/operation/operations.go Outdated Show resolved Hide resolved
Signed-off-by: George Aristy <george.aristy@securekey.com>
@llorllale llorllale merged commit 38fdc3e into trustbloc:master Jul 24, 2020
@llorllale llorllale deleted the 19 branch July 24, 2020 15:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

prepare bootstrap data
3 participants