I have setup my APEX application with authentication type social sign in.
The credential store associated with it has client-id “xyz”.
When I access the application, I am logged in automatically with my usercode “JohnDoe”, which works fine.
I now want to call a webservice using the bearer token associated with my user.
How can I obtain this token?