good morning, i am trying to login with oauth2 but i need to generate the token, i have tried to use refresh token and access token but both times i have the unathorized...how should i proceed ?
Hi. You mean you have to use the issued access token to query eg. Graph? Unauthorized could mean that you have not given proper permission in your Azure AD App Registration. Read Step 4 in the following article how to assign permissions. https://medium.com/@stefan-weber/getting-started-with-outsystems-and-microsoft-graph-123006356d41
Best
Stefan
hi stefan thank you very much for your reply. With Azure we have correctly all the permissions, so we get access correctly but what we would like to do is to retrieve the token that azure returns to us
thank you very much,
regards
The Login Connector caches the returned Access Token. See my article Step 10 following on how to retrieve it.