wso2 / identity-apps

Apache License 2.0
69 stars 259 forks source link

Issue with Associating User Accounts- user portal #298

Closed NilukaSripalim closed 4 years ago

NilukaSripalim commented 4 years ago

Affected version: wso2is: wso2is-5.10.0-alpha3-SNAPSHOT Identity -app: 0.9.11-SNAPSHOT

Describe the bug

  1. Initially, Log in with a user who has permission to view operations(e.g admin), and initiate a new user account association but that user has only the login permission.
  2. switch between associated user account that user has only the login permission.
  3. again switch to the initial user who has permission to view operations(e.g admin) Issue: the application does not display the "operations" in the left side but ser who has permission to view operations (e.g admin),

Screenshots: Initially, Log in with a user who has permission to view operations(e.g admin), image

  1. switch between associated user account that user has only the login permission. image

  2. switch to the initial user who has permission to view operations(e.g admin) image

thivi commented 4 years ago

This is because the API endpoint is returning only internal_login and openid scopes following account switching even for an admin user.

The request body image

The response Screenshot 2020-01-24 at 13 55 52

thivi commented 4 years ago

This issue has been resolved by this PR: https://github.com/wso2-extensions/identity-user-account-association/pull/34 Related issue: https://github.com/wso2/product-is/issues/7385

thanujalk commented 4 years ago

This is fixed.