[ 
https://issues.apache.org/jira/browse/ARTEMIS-5831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicolas De Amicis updated ARTEMIS-5831:
---------------------------------------
    Description: 
With this hawtio-oidc.properties, when provider is filled with https url, the 
error is shown when I click on the button "Keycloak@Test".
{quote}oidc" plugin error: Invalid Configuration
{quote}
With provider filled with http url, the authentication is working.

{{name = Keycloak@Test}}
{{provider = [https://kc.test.nda/realms/master]}}
{{client_id = activemq}}
{{response_mode = fragment}}
{{scope = openid email profile}}
{{redirect_uri = [http://localhost:8161/console]}}
{{code_challenge_method = S256}}
{{prompt = login}}
{{oidc.cacheConfig = true}}
{{jwks.cacheTime = 60}}
{{oidc.userPath = preferred_username}}
{{oidc.rolesPath = realm_access.roles}}
{{roleMapping.amq = amq}}
{{roleMapping.dev-amq = dev-amq}}
{{http.connectionTimeout = 5000}}
{{http.readTimeout = 10000}}
{{ssl.protocol = TLSv1.2}}
{{ssl.truststore = /var/lib/artemis-instance/etc/nda.jks}}
{{ssl.truststorePassword = xxx}}

  was:
With this hawtio-oidc.properties, when provider is filled with https url, the 
error is shown when I click on the button "Keycloak@Test".
{quote}oidc" plugin error: Invalid Configuration
{quote}
With provider filled with http url, the authentication is working.

{{name = Keycloak@Test}}
{{provider = https://kc.test.nda/realms/master}}
{{client_id = activemq}}
{{response_mode = fragment}}
{{scope = openid email profile}}
{{redirect_uri = http://localhost:8161/console}}
{{code_challenge_method = S256}}
{{{}prompt = login{}}}{{{}oidc.cacheConfig = true{}}}
{{jwks.cacheTime = 60}}
{{{}oidc.userPath = preferred_username{}}}{{{}oidc.rolesPath = 
realm_access.roles{}}}{{{}roleMapping.amq = amq{}}}
{{{}roleMapping.dev-amq = dev-amq{}}}{{{}http.connectionTimeout = 5000{}}}
{{{}http.readTimeout = 10000{}}}{{{}ssl.protocol = TLSv1.2{}}}
{{ssl.truststore = /var/lib/artemis-instance/etc/nda.jks}}
{{ssl.truststorePassword = xxx}}


> hawtio-oidc with provider url https doesn't work
> ------------------------------------------------
>
>                 Key: ARTEMIS-5831
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5831
>             Project: Artemis
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: 1.5.0
>            Reporter: Nicolas De Amicis
>            Priority: Major
>
> With this hawtio-oidc.properties, when provider is filled with https url, the 
> error is shown when I click on the button "Keycloak@Test".
> {quote}oidc" plugin error: Invalid Configuration
> {quote}
> With provider filled with http url, the authentication is working.
> {{name = Keycloak@Test}}
> {{provider = [https://kc.test.nda/realms/master]}}
> {{client_id = activemq}}
> {{response_mode = fragment}}
> {{scope = openid email profile}}
> {{redirect_uri = [http://localhost:8161/console]}}
> {{code_challenge_method = S256}}
> {{prompt = login}}
> {{oidc.cacheConfig = true}}
> {{jwks.cacheTime = 60}}
> {{oidc.userPath = preferred_username}}
> {{oidc.rolesPath = realm_access.roles}}
> {{roleMapping.amq = amq}}
> {{roleMapping.dev-amq = dev-amq}}
> {{http.connectionTimeout = 5000}}
> {{http.readTimeout = 10000}}
> {{ssl.protocol = TLSv1.2}}
> {{ssl.truststore = /var/lib/artemis-instance/etc/nda.jks}}
> {{ssl.truststorePassword = xxx}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to