Thanks...
There are several places in the UI that uses first name. So I am assuming that I would have to override all of those components with new ones as in https://docs.abp.io/en/abp/latest/UI/Blazor/Customization-Overriding-Components?UI=BlazorServer
ABP has excellent localization support. But I believe not using FullName might be a miss. The concept of surname and name changes quite a bit depending on local. Certain parts of Europe, Latin America, East Asia, etc don't use the standard name, surname format.
Also is there anyway to query ExtraProperties using the default repositories? I am assuming I would have to create a MyIdentityUserRepository that inherits from IdentityUserRepository and override the GetListAsync method or Add my own GetListWithExtraAsync and include stripeId and fullName, for example.
Which one of the three questions are answering with that link? Number 1?
Updating the UI is not really a problem, but those changes would have to flow through the system to the database. During registration, only the username, email address, and password will be sent back to the AccountApp service. I would need to include the First and Surname of the user. Would I have to extend the current AccountAppService and override the RegisterAsync method? [Edit] I just looked at the RegisterDto, it doesn't include First or Surname of the user.
For my 3rd question, for extending the UserIdentity, I can just use SetProperty on the IdentityUser, I believe since I am using MongoDb, it should make a difference in regards to searching by the stripeId as it should just add a property onto the document... correct?
I had a few questions about the User Aggregate and Login:
Thank you
That seemed to have did the trick.
My goal is to replace the login experience with Auth0. Meaning that instead of the ABP.IO login page, it will use Auth0's login modules, etc. Would it be sufficient to make the changes above, and update the Angular base template to use the Auth0 login package? I am curious how this will have an impact on things such as permissions, etc as all the roles and scopes will be maintained in Auth0.
Thanks.
Can you take a screenshot of this Host / Tenant page your speaking of. I went through all the Admin menus and it's not there.
I believe that screen you're referring to requires the Identity Server UI package to be installed. You can also send the hyperlink path after the domain name and I will see if anything comes up.
How can I enable that feature if it's not available? I've sent you the screenshot of what's available with the default installation of OpenIDConnect and OpenIDConnect UI. There is no option to enable that through the UI. The link that you sent was for an Identity Server UI Admin.
I would like to use an external Login provider such as Auth0. The current document https://docs.abp.io/en/commercial/latest/modules/identity/oauth-login seems to using Identity Server and not OpenID Connect, which is provided by default for new installations using ABP Suite.
Can you provide a link or directions to set that up for an Angular project? I am assuming that I would have to maintain roles and permissions in Auth0? or would that still be maintained in the Admin UI?
<br>
I am unable to deploy to Azure. I am using an Azure App Service for both the front and the back. Deploying the backend seems to working fine. I had to generate certificates in order to get it working after deployment. However when I try to login from the UI, I am getting a 400 error.
If I test the front end code locally, while having the backend pointed to the deployed in Azure web service, it works fine....
I noticed when I test locally, the url is in the form "/Account/Login?ReturnUrl=connect/authorize&response_type=code&client_id..."
However, deployed the deployed version has a url starting with "/connect/authorize&response_type=code&client_id"
Also it looks for the endpoint /getEnvConfig which needs to get redirected... as it only works with nginx, so I had to create a web.config and create rewrite rules to map to dynamic-env.json?
Here is my web.config for the frontend
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.web>
<customErrors mode="On"/>
</system.web>
<system.webServer>
<staticContent>
<clientCache cacheControlCustom="public" cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00"/>
<remove fileExtension=".woff" />
<remove fileExtension=".woff2" />
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
<mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
<mimeMap fileExtension=".json" mimeType="application/json" />
</staticContent>
<rewrite>
<rules>
<rule name="Angular Routes" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{REQUEST_URI}" pattern="^/(api)" negate="true" />
<add input="{REQUEST_URI}" pattern="^/(getEnvConfig)" negate="true" />
</conditions>
<action type="Rewrite" url="/" redirectType="Found" />
</rule>
<rule name="getEnvConfig" enabled="true" patternSyntax="ExactMatch" stopProcessing="true">
<match url="getEnvConfig" />
<action type="Redirect" url="dynamic-env.json" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
</conditions>
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>