SphinxConfig.ConfigureToken not working.

Hi,

I'm want to a add a aditional value to the token with no luck. I have set a breakpoint on
SphinxConfigConfigureToken method and is not called, also them same for SphinxConfigGetSigningData.

Any hint?

I'm using a custom User class.
It would be ok to do this on SphinxConfig1ConfigureToken method?
Args.Token.Claims.AddOrSet('IDICSAT',IntToStr(TMyUser(Args.User).IDICSAT));

Thanks in advance,

Omar Zelaya

Yes, that's how to do it. I suggest you start from the existing demo, it uses OnConfigureToken event and it works fine.