I would like to use the Rest API to get a client token first.
And then use this token to login as Magento2 client.
domain.com? customerToken = xyz
Are there any ready-made methods / modules for this in Magento2? I can probably call the magento rest api from the magento module (call the rest api from magento itself) to verify token is correct, but there is probably some other better solution?