thank you for your response.
I see various classes in the namespace Volo.Abp.Http.Client.IdentityModel but cannot figure out how to 'hook in' to the events 'after succesful login' and 'after logout'
I'm pretty sure ABP must have some mechanism like that, for instance in it's UI to react to a logoff so the menu can change, the header in the top-right of the screen so the current userinfo can be shown (of not, after logoff).
I don't know how to explain more clearly.
I need an event or hook into the :
Hi Mailiming,
I will look into the IAccessTokenProvider. But I think you missed the questions at the bottom of my message.
We need some way to know when the user has succesfully logged in
so we can (re)set the token in our Csla environment
We also need to know when the user has logged off
so we can clear the token in our Csla environment
I've looked, but I suppose that mechanism is burried deep within the ABP framework. Is there any way we can accomplish this ? maybe using some sort of eventhandler? I'm sure your UI is also reacting to these login/logoff events ?
It works now, thank you for your support !
Hi Alper,
Yes I did add our private Nuget address to the nuget.config. But in the appsettings.json there’s this line :
"AbpLicenseCode": "{PUT_YOUR_LICENSE_CODE_HERE}"
If I leave it in the file like that the app won’t start and leaves this message in the log file:
2021-02-26 09:43:29.782 +01:00 [ERR] ABP-LIC-0020 - License code not found! Ensure that your appsettings.json has "AbpLicenseCode" key with your license code. 2021-02-26 09:43:29.782 +01:00 [ERR] ABP-LIC-0008 - License check failed for 'Volo.Abp.Identity.Pro.HttpApi-v4.2.0.0'.
If I put our GUID in the AbpLicenseCode the app won’t start either and leaves a similar message in the log file. So I guess the GUID is not the license key. Where can we find the license key because we can't seem to find it on the page where out secret nuget url is.
Thanks for the download link, going to check it rightaway
Hi @Jurjen,
The downloaded version is old and we will update it asap. I'll write here again when we upload the latest version.
Hi Cotur,
Looking forward to that! Do you have any indication when this new version will be available ?
Jurjen