GithubHelp home page GithubHelp logo

4d / 4d-netkit Goto Github PK

View Code? Open in Web Editor NEW
10.0 13.0 8.0 551 KB

4D NetKit is a built-in 4D component that allows you to interact with third-party web services and their APIs.

License: Other

4D 99.03% HTML 0.97%
4d-component 4d-netkit google-api oauth2 office365

4d-netkit's People

Contributors

4dbuildmgr avatar arnaud4d avatar crugeles avatar e-marchand avatar gildas-falkenstein avatar github-actions[bot] avatar mesopelagique avatar mouna-elmaazouzi avatar sblaserbossinfo avatar thomasmaul avatar tony-b-4d avatar vdelachaux avatar yannicktrinh avatar ytengu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

4d-netkit's Issues

Feature Request - Custom Providers

User Story

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.

Examples

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

Features that could help to solve this case

  1. 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.

  2. Having a collection that allow to add parameters and their values.

  3. 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.

Check-in syntaxEN.json for version-tagged commits

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.

Requires a '4D Web Application Expansion for 4D Client' to use on 4D Client

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.

2 en

Just thought it should b mentioned somewhere because the blog post announcing this does not, nor does it seem to be mentioned anywhere here.

`WebFolder/index.html` created on the first webServer start

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.