The Basic Auth is to authenticate the request in the proxy pipeline but inside, the actual authentication will be processed as your system requires it. As for OAuth2 account type yes, it is possible that's why I wanted to hear more of the way you're generating the token, so I can offer you better solution if any.