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

Activities of "Romka"

Last version (9.3.0), aspnetcore + Angular :

  • create a new webhook subscription ;
  • add an additional header ;
  • save ;
  • edit, then emove the header ;
  • save ;
  • => the header is still there.

To correct this you simply have to change this line, in create-or-edit-webhook-subscription-modal.component.ts :

Question

Hello,

I found a bug in the UI Customization.

==> Theme "default" : uncheck "Menu" => "Fixed Menu" and check "Allow aside minimizing"

==> Minimize the aside menu : the button to maximize back is hidden, so the user is not able to show the menu.

If "Fixed menu" is checked, the button does show.

Ok, thanks for answer.

I'll implement it in our application ; maybe I'll add a warning modal to address the point about related data.

Hello,

of course I noticed it can be disabled, but what about deleting it ? all other entities can be deleted (ok, soft-deleted actually, but you understand what I mean). I think if the user is able to create a new entity, he should be able to remove it also.

So I wonder if there would be a side-effect I should be aware of, if I implement the delete functionality myself ; in other terms, why did'nt you implement it ? Is there a particular reason ?

Dear team,

I can't find any way for the users to delete a webhook subscription. Neither in Angular UI nor at backend side (WebhookSubscriptionAppService).

Is there a reason for this ?

Ok,

So I managed to get it work by adding a claim mapping between preferred_username (sent by microsoftonline) and unique_name (needed by aspnetzero).

So it works, thanks.

Hello, I still need help.

I tried also with Microsoft OpenIdConnect implementation. The aspnetzero "Microsoft" Extenral Login does work. With the same microsoft application, access via OIDC does not work from our application. The returned payload does include name & email claims, I can see it when I decrypt the token. The error is the same than for google : "Sequence contains no matching element", meaning another claim is missing, I suppose.

==> can you please provide us with the right, full, precise list of claims needed for aspnetzero OIDC client to work ? ==> can you improve the documentation ? You can notice than I'm not the only one to face these problems.

I think that Google, Microsoft, Github etc. are not very "exotic" servers, it should work without having to dig into internet 10's of hours, asking support etc.

Hello,

sorry for this delay, I was on vacation.

It seems you are right, google ODIC does not provide the "email" claim.

The thing I want to achieve is to validate our application does work as OpenId Client. So I can try to make it work using another OIDC server than Google.

Have you got one public site with which it works ? Somethin I can tell my clients "look, OIDC does work in our application, you can check against this provider" ?

Here is what I tried :

  • Google : "email" claim not provided
  • OIDC Playground (https://openidconnect.net/) : does not work because the redirect url is not configurable
  • Github : the login process redirects to http://localhost:4200/login?code=xxxx&state=xxxx, but nothing further, I am not logged in

Hi @ismcagdas,

thanks for your reply.

We used the officiel Google documentation here : https://developers.google.com/identity/protocols/oauth2/openid-connect

which states we should use this discovery info to extract issuer / auth urls : https://accounts.google.com/.well-known/openid-configuration

These are the urls we used to configure our application (- "issuer" and "authorization_endpoint" properties in the discovery document), which do match, by the way, the default ones as described in their doc, and all the samples I saw on internet.

I tried with the very same settings on a different PC with the same code branch (but another database) and it throws "System.InvalidOperationException: Sequence contains no matching element" at Abp.AspNetZeroCore.Web.Authentication.External.OpenIdConnect.OpenIdConnectAuthProviderApi.GetUserInfo(String token)

Question

Hello,

we want to provide OpenId SSO capability in our aspnetzero-based solution. We did not modified anything regarding to these parts of the application.

We try to validate it using the Google OpenId API. (We did succeeded to validate the Google External login implementation, so not the OpenId one but the "Google" one in aspnetzero settings).

It fails with a frontend error : "core.js:4197 ERROR Error: Uncaught (in promise): Wrong issuer: https://accounts.google.com"

Here are the settings we used :

Client ID & client secret are definitively OK, they work with "Google" external login settings.

Did we missed something, or the aspnetzero implementation is broken ?

Thanks.

Showing 21 to 30 of 54 entries