wso2 / product-apim

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
846 stars 785 forks source link

Cannot see the APIs in Publisher when login as a tenant user for the first time #6939

Closed npamudika closed 3 years ago

npamudika commented 4 years ago

Cannot see the migrated APIs in the Publisher in the first login as a tenant user and it gives the following error in the logs.

[2019-11-25 16:36:28,484] ERROR - WebAppAuthenticatorImpl You cannot access API as scope validation failed

In the Developer Portal, it is able to see the APIs without an issue.

After restarting the server, the APIs are visible in the tenant mode.

Note: Not specific to any DB type. Reproduced in MySQL and PostgreSQL.

vithu30 commented 4 years ago

Same behavior observed in devportal as well. If you logged into the Dev portal as tenant admin for the first time (in migrated environment), it is able to see the APIs and when trying to view applications, getting logged out and tenant listing page is shown. Same error is logged:

ERROR - WebAppAuthenticatorImpl You cannot access API as scope validation failed
npamudika commented 4 years ago

Same behaviour can be observed in MSSQL too.

npamudika commented 4 years ago

Same error is there in DB2.

tharindu1st commented 3 years ago

Couldn't reproduce in latest apim 4.0.0