Hi folks
So I am working on a LinkedIn integration. I am stuck at the point where I need to accept an access token at a redirect URI: LinkedIn Authorization.
I will describe it as I understand. After successful authorization LinkedIn will call a URL somewhere someplace. For now I created a service in AX and specified that LinkedIn should call this service/URL/URI.
So the dev looks like this:
- Service Group - LinkedInTestGroup
- Service - LinkedInTest
- Class - LinkedInTest
- Method - hello(str code, str state)
void hello(str code, str state)
{
Table1 hello;
hello.Wanneer = DateTimeUtil::utcNow();
hello.Hello = "hello";
hello.insert();
}
So after successful authorization (which I do with Postman at the moment) there should be a record in Table1 (it's cross company). But there isn't. I don't know if the method gets hit at all.
In summary: I need to accept a token. I don't know how. I am trying a service. But it does not work and I don't know why.
Maybe one piece of useful information is that if I call my service from the browser, I get this:

Thanks for your attention