We have overwritten the Login and Registration page following this guide. The base HTML for login and registration is taken from Abp github repo. Now on these pages I want to add recaptcha v2/v3 depending on the set configurations on AbpSettings table.
Hi, I am using Azure AD for SSO and we have S1 server app service where our test site is deployed and in that server Api response is taking 4 to 5 secs rather if I switch to S3 pricing plan on azure App Service it gives the response in 400 ms.
I want to optimize this SSO on S1 level itself.
Hi, We want to create one Api for tenant admin so that he/she can update profile picture of tenant users. We were able to save image in a blob container for a particular user using a custom Api by creating a custom blob container (with name "account-profile-pictures") and calling the inbuilt "await lobContainer.SaveAsync(userId, imageBytes, true);". When user logs in and we hit account profile picture Api(ABP provided) it still shows the default image rather than showing the image that we have saved using the above method.
After some investigation I notice that there is one field type whose value can be 0,1,2 while user itself set's the profile picture the value of type is 2, so I want to know where I can set the type as 2 for a particular user so that profile picture gets changed.
Hi, I want to set the user as inactive at the time of self registration before user is logged in for a specific tenant and also want to show a message to a user that " You will be able to login once the tenant admin approves your account."
Hi, I want to read the content column data of AbpBlobs table without using IBlobContainer interface. Is their any way to do that or else how can I decrypt the hexa string that is stored in the content column of the AbpBlobs table to base64.
Thanks
Hi,
I am using Azure AD SSO and customized this to call the sso process on page load based on this solution :-
https://support.abp.io/QA/Questions/5328/Issue-with-Azure-AD-SSO-using-open-id-connect
We have scheduled cron job to fetch all the users from azure AD and then we are inserting those users to "AbpUsers" table. but we are not making any entry into "AbpUserLogins" table because in this table "ProviderKey" column is required which is unique for every user and we don't know how to create that.
So the issue is when someone tries to do SSO then that process checks the AbpUserLogins table, if the entry for that user is not there then the Registration page is opened. But we have the entry in "AbpUsers" table so his actual email is not allowed to be entered, by which some dummy entry is created for email to get that person in,
Its a BLOCKER for us.
Possible solution:-
if there is any way through which we get the provider key of every user then we can insert that in the AbpUserLogins table so that no registration is shown while doing SSO.
We can customize the registration process to not show that Registration page when SSO is done, which will then not check the entry inside "AbpUserLogins" table.
I would appreciate a reply as soon as possible
Thanks !!
Hi,
I am using external login i.e. "SSO using AzureAD".
I want to customize the User Registration process Account/Register when new user comes to application. How to achieve that.
Thanks !!
Hi,
I am Syncing users from Azure Active Directory on CRON basis.
What I need is at the time of syncing the users to our table [dbo].[AbpUsers] we need to create the entry in [dbo].[AbpUserLogins] also so that when any user logins first time they are not shown the Register Button i.e. "Account/Register".
But table [dbo].[AbpUserLogins] is having one column named [ProviderKey] which is uniquely generated per user.
Please provide input on how we can create entry in [ProviderKey] column at the time of syncing only.
Thanks !!
Hi
I have deployed my abp app to IIS after deployment when I am accessing the Angular UI its is giving me CORS error in console :-
Access to XMLHttpRequest at 'https://authserver/.well-known/openid-configuration' from origin 'https://angularapp.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
The logs are these:-
2023-08-28 11:05:26.278 +01:00 [INF] Executing endpoint '/Account/Login' 2023-08-28 11:05:26.294 +01:00 [INF] Route matched with {page = "/Account/Login", area = "", action = "", controller = ""}. Executing page /Account/Login 2023-08-28 11:05:26.294 +01:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2023-08-28 11:05:27.320 +01:00 [INF] Executing handler method Volo.Abp.Account.Public.Web.Pages.Account.LoginModel.OnGetAsync - ModelState is "Valid" 2023-08-28 11:05:27.382 +01:00 [INF] Executed handler method OnGetAsync, returned result Microsoft.AspNetCore.Mvc.ChallengeResult. 2023-08-28 11:05:27.386 +01:00 [INF] Executing ChallengeResult with authentication schemes (["AzureOpenId"]). 2023-08-28 11:05:28.024 +01:00 [INF] AuthenticationScheme: AzureOpenId was challenged. 2023-08-28 11:05:28.025 +01:00 [INF] Executed page /Account/Login in 1731.1457ms 2023-08-28 11:05:28.025 +01:00 [INF] Executed endpoint '/Account/Login' 2023-08-28 11:05:28.027 +01:00 [INF] Request finished HTTP/1.1 GET https://authserver/Account/Login - - - 302 - - 1753.7944ms 2023-08-28 11:05:30.625 +01:00 [INF] Request starting HTTP/1.1 POST https://authserver/signin-azuread-oidc application/x-www-form-urlencoded 3455 2023-08-28 11:05:30.634 +01:00 [INF] CORS policy execution failed. 2023-08-28 11:05:30.635 +01:00 [INF] Request origin https://login.microsoftonline.com does not have permission to access the resource. 2023-08-28 11:05:31.153 +01:00 [INF] AuthenticationScheme: Identity.External signed in. 2023-08-28 11:05:31.153 +01:00 [INF] Request finished HTTP/1.1 POST https://authserver/signin-azuread-oidc application/x-www-form-urlencoded 3455
Hi,
I am deploying the app to windows IIS server after doing the package deploy, its giving error:- application failed to start,
Do I need to install ABP CLI and login on the server machine or any kind of certificate or key needs to be installed ?
Please provide the steps to do so.
Thanks !!