4d / 4d-netkit Goto Github PK
View Code? Open in Web Editor NEW4D NetKit is a built-in 4D component that allows you to interact with third-party web services and their APIs.
License: Other
4D NetKit is a built-in 4D component that allows you to interact with third-party web services and their APIs.
License: Other
As a developer, I want to be able to use the 4D Net Kit component to request third party that implement OAuth2 with some specific implementation that are not fully covered by the spec.
Authorize URL of third party app: {{OAuthBaseUrl}}/authorize?client_id=<Client_ID>&response_type=code&redirect_uri=<Redirect_URL>&customParam={{customValue}}
Another example is : {{OAuthBaseUrl}}/{{tenantUUID}}/token
Allow to easily add our class inside the component that inherit from a base class. This base class could implement interface functions that allow to have a callback when getting the authorize or token URL. By default the function return the classic URL but our specific class can implement a specific callback to add some custom parameters or replace some placeholder in the URL.
Having a collection that allow to add parameters and their values.
The tenant
in the URL seems to be covered by the Microsoft solution, but I'm not sure if this can be used for other providers.
When the redirectUri do not ends with /
, the regex for the path and the port in _getPathFromURL and in _getPortFromURL are not working correctly.
Ex: http://127.0.0.1:8081
It should accept such redirectUri.
Pushed in branch YT/Feature/Office365_UpdateMessage
I would like to request that the corresponding symbol file (a.k.a. syntaxEN.json
) is checked in for all commits tagged with a 4D version number.
Reason: There are often several branches of a 4D application. The main branch and several hotfix
branches - all of them can be built with a different 4D version within the CI pipeline. In order to be able to trace 4D-NetKit
or execute unit tests against it, the appropriate commit must be checked out in the interpreted NetKit source.
Semantics: The symbol file maps the public API of the component. It is directly related to the code, not just the compilation, since the Parser seems to check for them.
It is inconvenient to start a compilation for the symbol file as soon as you check out a tagged commit in 4D-NetKit. However, this must currently be done in order to avoid RT errors in the host application if the public API has changed.
When intending to implement this in a call from a 4D CLIENT application (aka Remote Mode), you will need a 4D Web Application Expansion for 4D Client license, not the standard 4D Web Application Expansion included as part of 4D Server license.
Just thought it should b mentioned somewhere because the blog post announcing this does not, nor does it seem to be mentioned anywhere here.
When I use the component, a WebServer
folder with the default index.html
file are created.
This prevent my redirect to works because the redirect will return this index.html
page instead of going through the On Web Connection
database method.
My redirect URI is http://127.0.0.1:8081/
I have to delete manually the WebFolder
to make it works.
The file https://github.com/4d/4D-NetKit/blob/48a9b1155b36b0012cd54aba24b4af96ad7a7f52/Resources/Response_Template.html make reference to Wakanda and its licences. Should be updated with 4Dā¦
A declarative, efficient, and flexible JavaScript library for building user interfaces.
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ššš
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ā¤ļø Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.