Boa tarde a todos,
Desenvolvi uma API em TLPP utilizando annotations. Meu SERVER do REST TLPP já está com as configurações para o novo oAuth2 conforme link do TDN:
__C - Configuração completa - TOTVSTEC - TDN
onde o endpoint é:
/tlpp/oauth2/token
Quando tento realizar uma requisição para gerar o Token está ocorrendo o erro:
Access to XMLHttpRequest at ‘https:/127.0.0.1:48600/rest/tlpp/oauth2/token?grant_type=password&username=boa.edson&password=deutsch’ from origin 'http:/localhost:4200’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Alguém já desenvolveu algo deste tipo?
Obrigado!