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

Activities of "PhilWynn"

Hi,

I realise that this is not currently implemented in the Authenicate method.

I have a situation where I would like to communicate, to the consumer of the Authenticate method, that the password needs resetting.

My question to you is: how do I return the ShouldResetPassword flag to the consumer? If it is to be contained within the encrypted ticket, how can this be viewed?

Many thanks

Hi,

Thanks for the info, but I'm afraid you haven't answered my originial question.

When I log into the system using the "Authenticate" request (as detailed in https://docs.aspnetzero.com/documents/aspnet-mvc-jquery/latest/Development-Guide-Mvc-Angularjs#token-based-authentication) I get an encrypted token back. How do I determine from this whether or not the user is required to change his password?

A previous post indicated the information contained within the encrypted token, but how do I access this information?

Regards

Hi @maliming

Thank you, but I seem to have lost my access to the git hub repository.

Hi, I realise that my login is successful. However, I need to know if the user is required to change his password. How can I un-encrypt the token to get this information?

If this is not possible, how would you recommend I fulifll this requirement?

Many thanks

Hi,

It has has happened due to changes I have made. I am happing to debug, however I do not know how to go about doing this.

Cheers

Hi,

Apologies for my lack of understanding here. I am getting an encrypted result, as below. How would I un-encrypt this to obtain the data above?

{ "result": "ZGczQCd9iH2DTcH8cEBOfwObxcz44YKChhVoSwx6f-JB3HVtbY06MLF6OnKjrpus52e4Sa4JTPnRKzsN3bQ5SfxJt_wBEkvRwiRgokN69qy6G37D2EXBwM9_L2hvDRvJoT_GIzJuGtOPCUrY2MsCenmNsAjcm4xmGzOeXDpUizdffR88lflj-p_MLTAdbtP8oainBtNk_Rma_oJ1vTBDiPvhor_AoxWqx--Is8GkS7E_4SrtdQPrZ5GFJC3CieCKyVGR4O1C0M4FfXYN4kqKhfcM5Q5IMIcIrkZN15_Sccjj7NPbY_rphR0H704Vnht7zsSP1brG3CXi2oP3JfB6SHpzRS2UCkVaiATofwKH8wn9Vm6Eaxfow-MTdKxjVuNChQIdmceYTuvkFlXO-z-3ohwkc286MkOGS6IwkJOyWPoYGRsa-KHHX5JpoBufCxBi4TOc9hA3XdQI4DNMr752XCGGV9oCmBUbBUkEKYDpFphHPDz23Otr1X-dXjDJ7vaHyWl_ixsdcvy6k_Q_xbzNOzj7PRC8JsTiGT_BXdMkZFonld6qy5Mh8jXwu82ZBVY7r3arGMhIZrKgJ26mJdHhPmnd7M-5Efyiyh3uMnLLWdN12g0IxD1wURW1LGOuQlHrwbd3hp4981kb3d_SvWdNbw", "targetUrl": null, "success": true, "error": null, "unAuthorizedRequest": false, "__abp": true }

Hi,

I managed to fix the 500 error by adding the UseFullTypeNameInSchemaIds directive.

Unfortunately, now the browser is simply running out of memory!

LocalizationHelper is an Abp class:

Abp.Localization.LocalizationHelper

I am wondering if the language used by LocalizationHelper gets set when I initialize the AbpBootstrapper.

If this is the case, how can I programmatically change this language setting?

If I can do this, then I won't need to pass in the culture info to get the correct string (this would be ok, as each invocation of an Azure Funtion runs its own thread)

I am running this code within the context of an Azure Function, so do not have access to anything MVC related.

Do you have any idea as to why LocalizationHelper is not working as described?

You say that it is not recommended to use IocManager.Instance(). Could you explain why this is please?

Many thanks.

Showing 21 to 30 of 75 entries