Configuring sso for Edge UI is failing with authentication failed error.

/opt/apigee/apigee-service/bin/apigee-service edge-ui configure-sso -f /opt/apigee/edgeuiconfig.txt

Checking for optional variables

Found optional variable EDGEUI_SSO_ENABLED...OK

Enabling Single-Sign-On (SSO) service for UI

Authentication failed for client ssoadmin.

Solved Solved
0 1 577
1 ACCEPTED SOLUTION

we are getting this error with 4.51 version.

Here is the solution.

this is an issue with the one of the scripts:

When getting access token our loadbalancer is returing "HTTP/2.0 200" where script had a condition to check "HTTP/1.1 200 OK or HTTP/2.0 200 OK"

we had to make the following changes to the two scripts - /opt/apigee/apigee-sso/lib/sso-lib.sh and /opt/apigee/edge-ui/lib/actions/configure-sso

*"HTTP/1.1 200 OK"* -> *"HTTP/2 200"*

*"HTTP/1.1 201 Created"* -> *"HTTP/2 201"*

*"HTTP/1.1 409 Conflict"* -> *"HTTP/2 409"*

The above changes had fixed the issue.

 

View solution in original post

1 REPLY 1

we are getting this error with 4.51 version.

Here is the solution.

this is an issue with the one of the scripts:

When getting access token our loadbalancer is returing "HTTP/2.0 200" where script had a condition to check "HTTP/1.1 200 OK or HTTP/2.0 200 OK"

we had to make the following changes to the two scripts - /opt/apigee/apigee-sso/lib/sso-lib.sh and /opt/apigee/edge-ui/lib/actions/configure-sso

*"HTTP/1.1 200 OK"* -> *"HTTP/2 200"*

*"HTTP/1.1 201 Created"* -> *"HTTP/2 201"*

*"HTTP/1.1 409 Conflict"* -> *"HTTP/2 409"*

The above changes had fixed the issue.