Update DVZA auth method

master
Bas Kloosterman 2 years ago
parent 478fc9fa9e
commit c78f328298
  1. 2
      dvzaservice/openapisrv.go

@ -343,7 +343,7 @@ func (srv *OkAPIServer) EnableService(
Protocol: cnf.FetchProtocol.Protocol,
Configuration: cnf.FetchProtocol.ConfigToOkapi(),
Auth: &okapi.ProtocolAuthConfiguration{
Method: "BearerToken",
Method: sharedmodel.AuthMethodDecozoBearerToken,
Configuration: toStruct(map[string]interface{}{"token": "2222"}),
},
},

Loading…
Cancel
Save