Unverified Commit f99495a3 authored by Johan Stokking's avatar Johan Stokking Committed by GitHub
Browse files

Configure roaming Authorization value from default client. (#573)

parent 07f12a90
......@@ -174,15 +174,16 @@ func GetClientForNetID(clientNetID lorawan.NetID) (backend.Client, error) {
}
client, err := backend.NewClient(backend.ClientConfig{
Logger: log.StandardLogger(),
SenderID: netID.String(),
ReceiverID: clientNetID.String(),
Server: server,
CACert: defaultCACert,
TLSCert: defaultTLSCert,
TLSKey: defaultTLSKey,
AsyncTimeout: defaultAsyncTimeout,
RedisClient: redisClient,
Logger: log.StandardLogger(),
SenderID: netID.String(),
ReceiverID: clientNetID.String(),
Server: server,
CACert: defaultCACert,
TLSCert: defaultTLSCert,
TLSKey: defaultTLSKey,
Authorization: defaultAuthorization,
AsyncTimeout: defaultAsyncTimeout,
RedisClient: redisClient,
})
if err != nil {
return nil, errors.Wrapf(err, "new roaming client error for netid: %s", clientNetID)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment