I have a OAuth2 link working in Insomnia to access Sharepoint for our organization and now I am looking to translate that into Delphi using the following starting point.
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
end;
I have left out the details, but in Insomnia, the two URL's I defined was a Authorization URL and Access Token URL. Is this the right direction to head down. Thanks in advance for any guidance or direction to look at any demos that might apply to my usage scenario.
OK, I think I have figured it out and my issue was with the configuration in Entra. Initially I had the "App Registraiton" configured for "My Organization" which is a different URL then the one generically being created by the TMS Cloud OAuth2 component for MS. Once I changed the "App Registration" to "Multiple Organizations" I have gotten closer with the ability to receive the access token.
I am still interested in an other insight you might have or if you believe I am heading down the correct path.
The Authorization URL and Access Token URL are indeed good starting points for the authentication process.
There is a general getting started guide available in the online doc to implement custom services.