wlandgraf
(Wagner Landgraf)
July 26, 2024, 2:22pm
14
Can you please check if these topics help you out somehow:
Hello,
I'm sorry. Here is the zip file: MyWebTest.zip (986.9 KB)
The project is very simple, with just a WebButton to execute the code to connect and a Webmemo to display the access token returned. I didn't send the server since I use the Sphinx server provided by the demo with specific client added:
// Create mywebtest client
Client := SphinxConfig1.Clients.Add;
Client.ClientId := 'mywebtest';
Client.DisplayName := 'My Web test App';
Client.RedirectUris.Add('http://localhost:8000/M…
The project is extremely big and complex for a support ticket. Server depends on 3rd party components (IndySecureMailClient, UniDAC units), the client is extremely big, full of files. I cannot easily compile neither of server nor client..
Can you please reduce it to a minimal focused on just reproducing the issue? That's also an exercise about understanding how things works and isolation possible influence on Sphinx from other code.
Nevertheless, I see your code calls Login twice. Why? I canno…
Especially the idea of calling Login method at all times so it not also redirects to the login page, but also process the token if the app is loading as a redirection back from login page.