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

Commit

Permalink
Merge pull request #261 from aholovko/gnap_bootstrap_handlers
Browse files Browse the repository at this point in the history
feat: onboard user during gnap oidc flow, add bootstrap handlers
  • Loading branch information
fqutishat authored Jun 30, 2022
2 parents 5958043 + 189b3d6 commit 8a9412e
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 8a9412e

Please sign in to comment.