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

Commit

Permalink
feat: onboard user during gnap oidc flow, add bootstrap handlers
Browse files Browse the repository at this point in the history
Signed-off-by: Andrii Holovko <[email protected]>
  • Loading branch information
aholovko committed Jun 30, 2022
1 parent 5958043 commit 189b3d6
Show file tree
Hide file tree
Showing 5 changed files with 688 additions and 35 deletions.
5 changes: 5 additions & 0 deletions cmd/auth-rest/startcmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,11 @@ func startAuthService(parameters *authRestParameters, srv server) error {
CallbackURL: parameters.oidcParams.callbackURL,
Providers: parameters.oidcParams.providers,
},
BootstrapConfig: &gnap.BootstrapConfig{
DocumentSDSVaultURL: parameters.bootstrapParams.documentSDSVaultURL,
KeySDSVaultURL: parameters.bootstrapParams.keySDSVaultURL,
OpsKeyServerURL: parameters.bootstrapParams.opsKeyServerURL,
},
TransientStoreProvider: provider,
TLSConfig: &tls.Config{RootCAs: rootCAs}, //nolint:gosec
DisableHTTPSigVerify: parameters.gnap.disableHTTPSigVerify,
Expand Down
Loading

0 comments on commit 189b3d6

Please sign in to comment.