As I'm using dynamic claims, on the backend I can see that CurrentUser service is getting updated if I change the role of the current user.
on the frontend, if I call authService.refreshToken()
the access token gets updated too.
but, this.config.getOne$('currentUser').subscribe((currentUser) => { }
DOES NOT get reflected with the latest role for the current user.
how can I access the dynamic claim changes on the frontend for the currentuser
Hi,
after seeing your screenshot when I tried that endpoint from swagger. its working fine with swagger returning 400 but with postman its still returning 500. not sure, seems like postman issue
based on the ABP documentation, whenever we are throwing AbpValidationException in app service, it should return 400 bad request. but I don't know why its retuning 500.
following is the screenshot of postman, making request to the endpoint and returning 500
any update on new patch about fixing the proxy issue
Hi, I'm glad that you are able to replicate the issue on your end.
for now, I will manually fix it. may I know when are you going to release this patch.
try to delete the proxy folder and re-generate the proxies
as I have already sent you the code. you can even try on that to have more understanding about the issue.