@dhaeseleermatthias - If you are using two different services then you need to get two tokens. You could take a look at Graph APIs for SharePoint sites and see if you could use Graph for both.

www.000webhost.com