X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fauth.py;h=f756d9deaf96dfab52299e134ddb8e6e2e077152;hp=1b8fa2b0adcef246e817a3f3600f0e4379971907;hb=refs%2Fchanges%2F90%2F8590%2F3;hpb=8c81ab02335c7d3944d0d0c3357675d2058cd0da diff --git a/osm_nbi/auth.py b/osm_nbi/auth.py index 1b8fa2b..f756d9d 100644 --- a/osm_nbi/auth.py +++ b/osm_nbi/auth.py @@ -404,10 +404,8 @@ class Authenticator: def new_token(self, token_info, indata, remote): new_token_info = self.backend.authenticate( - user=indata.get("username"), - password=indata.get("password"), + credentials=indata, token_info=token_info, - project=indata.get("project_id") ) new_token_info["remote_port"] = remote.port