Configure port for Designer runtime

Assignee

Reporter

Sprint

Description

Designer's runtime starts on a random port. User cannot define its port or port range.

OAuth2 authorization process requires registration of redirect_uri. When port is random, the redirect uri changes every time Designer (runtime) is restarted, so user has to change redirect_uri in app's registation.

Let users limit the ports used for http in runtime, so they can register their redirect_uri including the port(s).

Steps to reproduce

None

Attachments

1
  • 29 Aug 2023, 04:44 PM

Activity

Show:

Jiri Trnka August 23, 2023 at 11:52 AM

Added new option into CloverDXRuntime preferences pages. Use can specify port number to force Runtime to use a specific port number. If the port is not free on OS the startup of the Runtime will fail.

Pavel Salamon August 11, 2021 at 11:44 AM
Edited

Both google and azure effectively ignore ports for localhost when the registered redirect_uri does not contain port: http://localhost/clover/oauth2

This is documented in our doc, but users that don't read our doc can easily be annoyed by the port changing after runtime restart.

This can also be a problem when using some other provider if the provider is strict and requires exact match of port even for localhost urls.

Fixed

Details

Priority

Fix versions

Zendesk ticket

QA Testing

UNDECIDED
Created August 11, 2021 at 11:42 AM
Updated September 22, 2023 at 10:58 AM
Resolved August 23, 2023 at 11:52 AM