Base solution for your next web application

Activities of "SRTMDEV"

Hello Team, We are getting below error while login via External Login OKTA system. This has been raised when 2 Stage/Multiple Authentication (OKTA Verify) has been enabled in OKTA.

Error: 'An item with the same key has already been added. Key: http://schemas.microsoft.com/claims/authnmethodsreferences'

Can you share some workaround to move further or share GetUserInfo code so we can modify as per needed. We are using 11.0.0 ANZ version (.NET Core and Angular project).

Thanks, SRTMDEV

Hello Team,

Currently Abp.AspNetZeroCore.Web version is 4.0.0 and Abp.AspNetCore version is 7.0.1 package used. Let us know if we upgrade both package (Abp.AspNetZeroCore.Web to 4.1.0 and Abp.AspNetCore to 7.4.0) to latest version will impact on our project which is running on ANZ 11.0.0 version?

Hello Team,

I am getting below error while upgrade Abp.AspNetZeroCore.Web and Abp.AspNetCore packages to latest version.

Method 'GetNotificationsPublishedByUserAsync' does not have an implementation.

It is not how it is designed. To make this change, you have to make changes in many places, including the framework's code. Why do you need that? We may offer another solution to you.

Hello Team, Currently we have a requirement where we need to setup master data in Host tenant and copy in each of tenant. Now if copy master-detail data, then we have to do operation for each table to maintain master identity in child table. To eliminate this we introduced GId in which there is no any required to change data while copy to tenant. Now here we want to maintain Primary/Foreign Key in respected table with combination of Tenant Id and GId but due to Tenant Id is allow to NULL we are unable to set. With limitation, we need to write EF join query to read data from child table.

Hi @SRTMDEV

I couldn't understand the problem very well but you may use IMustHaveTenant instead of IMayHaveTenant which doesn't allow NULL values.

Hello ismcagdas, My requirement is I want to create some master/template data in Host side and want to copy this data when creating new tenant. Now I am use same database and table for Host and Tenant so in this case IMustHaveTenant can not be use.

Hello Team,

Any update on above? We have a scenario where our client app need to communicate with our server app using API. Out of client id and secret, is there any other token we can generate per tenant which case use for client app and with that token we can communicate to our server?

Thanks you m.aliozkaya for your response. Currently I am looking for how I can communicate my ANZ web app from externally without Username and Password. I have two type of scenario for external application. In 1st external app who want to access our ANZ app API can use ClientId and ClientSecret to communicate and in 2nd scenario there is our external app which can be access from our app. Tenant user can redirect to our external app and I am thinking some AccessToken kind of send via external URL and can communicate ANZ using that token from our external app. In both case I can auto create ClientId, ClientSecret or AccessToken while generate tenant and can use in such scenario. Any of your idea are really appreciate to achieve such requirement.

Question

Hello, suppose we have 2 tenants in our application consider it as https://t1.net and https://t2.net. I am getting token from https://t1.net and the API which i am calling is of https://t2.net so after sending the request it getting the successful response and the data is inserting in the https://t1.net tenant (from where token was generated). It is ignoring the API URL.

Hi @SRTMDEV

Do you also send Abp.TenantId request header ?

No, we are just passing token in header

Currently, TenantId is automatically taken from the passed token during inserting data. Due to that there is a possibility it will ignore tenancy URL and insert data with TenantId which is available in token/session. Is there any functionality in ANZ to unauthorize any request if the token TenantId and tenancy URL do not match?

Showing 91 to 100 of 107 entries