outline-server icon indicating copy to clipboard operation
outline-server copied to clipboard

Set dynamic (ssconf://) key name by "name" field in its JSON

Open rorosin opened this issue 1 year ago • 5 comments

Will there be feature to set client key name from dynamic key?

I do know that you can set client key name by hash part of url, but name field in json key would be cool for providers (e.g. to display there some info for key, cause now AFAIK it only supported by error message field)

rorosin avatar Jul 09 '24 12:07 rorosin

Hey, this is LGTM, I'll be working on the feature.

murka avatar Sep 02 '24 17:09 murka

@murka provided more context about the feature request:

So, the existing hash system is not dynamic for key names, I gonna use this feature for information user, for example:

  1. Quota in GB
  2. Subscription info

The current hash system is not working for this use cases.

I don't think hacking the name is a good idea. It can be very confusing to the user if the server name changes.

Instead, we need a more focused feature. Perhaps a message field that can be surfaced in the UI. Or something more focused on reporting quotas.

There's also a possible discussion on whether this should be on the dynamic key, or a client API backend, so that static keys can be supported as well.

fortuna avatar Sep 03 '24 20:09 fortuna

Let's discuss about this feature.

So, I guess we need to provide a new property for the subtitles of the name keys.

murka avatar Sep 03 '24 21:09 murka

new property for the subtitles of the name keys

Yeah, it would be great!

VPN providers could simply put in there traffic usage or key expiration date.

rorosin avatar Sep 08 '24 08:09 rorosin

Is there any news?

rorosin avatar Nov 27 '24 07:11 rorosin