How to configure different URL for token

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Describe the issue:
Currently “openid_connect_url” is same for Authentication and Token
I need to set different endpoint for Token
so user will authenticate via public URL while Token will be fetched internally

Configuration:

Relevant Logs or Screenshots:

@Refky As far as I know current security plugin doesn’t allow configuring multiple endpoints with “openid_connect_url”.

This looks like a feature request and not a bug. If you’d like to report feature request, you can do that in the OpenSearch security plugin GitHub.

That was possible with jwt_auth previously, but not now.
I checked the code and looks like there is no configs.

@punkovain Do you mean jwt_auth domain authentication?
Could you share your original working config?

Unfortunately, I cannot - do not have it and currently struggling with openID in my own topic.

Thanks a lot for fast replay and efforts