Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "oguzhanagir"

Hi

Thank you for your feedback. I created an issue for this. You can solve the problem by applying the changes made here.

Hi

Release Mode and Start Without Debugging are different things. Release optimizes for performance and can also include debugging information, while Start Without Debugging runs the application without debugging. If you are testing in a production-like environment, using Release Mode with 'Start Without Debugging' is generally a better approach. You can run EmailSender in Release Mode to test it locally.

Hi

When you remove the IEmailSender replace part in *CoreModule, it will throw an error if the SMTP settings are incorrect. Or if you run your application in Release mode, it will not perform the replace operation here.

Hi uenlkr4e

While in Debug mode, sending Email is replaced with the NullEmailSender service. You can comment the part where the IEmailSender class is replaced in the PreInitialize method in *CoreModule.

Hi

Have you implemented this document? Have you followed the "note" at the end of the page?

Hi

You need to update the ClaimsMapping values.

 "OpenId": {
   "IsEnabled": "false",
   "ClientId": "",
   "Authority": "",
   "LoginUrl": "",
   "ValidateIssuer": "false",
   "ResponseType": "id_token",
   "ClaimsMapping": [
    {
        "claim": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier",
        "key": "id"
    },
    {
        "claim": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name",
        "key": "name"
    },
    {
        "claim": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname",
        "key": "given_name"
    },
    {
        "claim": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname",
        "key": "family_name"
    }
    {
        "claim": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
        "key": "email"
    }
   ]
 },

Hi

It will be sufficient to specify the main domain of your application in RedirectUrl. Callback path is defined within the application. Does the error remain the same after trying these different urls?

Do not forget to check the Implicit grant setting here. Make sure that both options are selected in SPA applications.

If the problem still persists after making these changes, please send your project to [email protected].

Hi

Thank you for reporting the problem. We will fix the problem as soon as possible. Enjoy your work

Hi

Can you try the answer found here?

Hi clahey

The reason for this error is that the ClientId value in the OpenIddictApplications table does not match the RedirectUris value specified in your appsettings.json. To fix this error, you can either delete this entry from the database and recreate it using SeedWorker based on the values in appsettings.json, or manually update the value in the database. Alternatively, you can specify a new ClientId in appsettings.json.

Showing 21 to 30 of 166 entries