I'm using dockerized CKAN (2.7.2) + ckanext-oauth2 (0.3.8) + WSO2 ( WSO2 API Manager & WSO2 Identity Server )
I've created a user test1 as a primary tenant user and test2 as a secondary tenant user in wso2. And I've used the ckan.oauth2.client_id and ckan.oauth2.client_secret of primary tenant user (i.e. test1) in ckan.ini file (screenshot is attached below).
In the above case when we are login the CKAN with test1 (primary user), then we are successfully able to login but when we are login the CKAN with test2 (secondary user). then we are getting error i.e. Application you are trying to access does not allow users from your organization.
Does ckanext-oauth2 supports multiple applications (for e.g. application of primary tenant and application from secondary tenant at a time) for authentication? or How can we login from both users i.e. created on different wso2 tenants?
Issue was with wso2, resolved now:)
We can login from both primary and secondary users created on WSO2. I was facing issue bcoz users were not in sync.
I'm using dockerized CKAN (2.7.2) + ckanext-oauth2 (0.3.8) + WSO2 ( WSO2 API Manager & WSO2 Identity Server )
I've created a user
test1
as a primary tenant user andtest2
as a secondary tenant user in wso2. And I've used theckan.oauth2.client_id
andckan.oauth2.client_secret
of primary tenant user (i.e. test1) in ckan.ini file (screenshot is attached below).In the above case when we are login the CKAN with
test1
(primary user), then we are successfully able to login but when we are login the CKAN withtest2
(secondary user). then we are getting error i.e.Application you are trying to access does not allow users from your organization.
Does ckanext-oauth2 supports multiple applications (for e.g. application of primary tenant and application from secondary tenant at a time) for authentication? or How can we login from both users i.e. created on different wso2 tenants?