Details
-
Type:
Bug Report
-
Status: Closed
-
Priority:
L3 - Default
-
Resolution: Fixed
-
Affects Version/s: 0.24.0, 0.24.0-alpha2
-
Fix Version/s: 0.26.0, 0.26.0-alpha1
-
Component/s: frontend
-
Labels:None
-
Epic Link:
Description
Bug description
In SSO Profile (sso-auth) appears a logout button, that should only appear in auth profile.
Steps to reproduce the behavior
1. set env vars to configure SSO credentials (for example):
export CAMUNDA_OPERATE_AUTH0_DOMAIN=weblogin.cloud.ultrawombat.com export CAMUNDA_OPERATE_AUTH0_BACKENDDOMAIN=camunda-dev.eu.auth0.com export CAMUNDA_OPERATE_AUTH0_CLIENTID=tgbfvBTrXZroWWap8DgtTIOKGn1Vq9F6 export CAMUNDA_OPERATE_AUTH0_CLIENTSECRET=<Look in auth0 application> export CAMUNDA_OPERATE_AUTH0_CLAIMNAME=https://camunda.com/orgs export CAMUNDA_OPERATE_AUTH0_ORGANIZATION=<Look in your profile metadata>
2. Start operate with sso-auth profile
for example:
mvn -f webapp/pom.xml exec:java -Dexec.mainClass="org.camunda.operate.Application" -Dspring.profiles.active=dev,dev-data,sso-auth
3. Login
Click on username to see the logout button
Problem - Current Behavior
logout button is shown but backend sends back:
{ "firstname" : "", "lastname" : "Susi Sonnenschein", "canLogout" : false }
Expected behavior
logout button should not be shown in case of SSO profile
Environment and Additional Information
- OS: any
- Browser: any