Hi Juan,
It's not 100% clear what you're trying to achieve, so it's a little hard to answer this one. Are you building an LTI tool? Something else? Either way, a few of things to point out, since you mention LTI.
Moodle's LTI consumer (when Moodle act at the platform), will naturally provide id tokens during launch (to authenticate the user), and tools can request access tokens to call those LTI services supported by Moodle. All of this is restricted to the mod_lti space and only LTI scopes are used. I.e. these tokens are only for use with LTI and LTI services and not for any of Moodle's other web services. If you're building an LTI tool, these are exactly the tokens you want to use.
Generally speaking, Moodle is not an identity provider. There is no support for that outside of LTI.
Hope that helps. If not, please include more information about what it is you're aiming to do.
Cheers,
Jake