Jump to content
Stuart Clennett

Updating client side TMARSToken with just a JWT Token string?

Recommended Posts

Hi,

 

I am auto-renewing the JWT token on the server (as per the TokenAutoRenew demo).  

 

Having received the JWT token string from the server how do I update the client MARSToken with that value. The properties are read-only.

 

Thanks

 

 

Share this post


Link to post

Hi @Stuart Clennett,

sorry for the late reply! 

TMARSClientToken component has the capabilities to persist the token (and the related informations) through Load/Save From/To File/Bytes routines.

I am considering to introduce also a way to update the component setting a bare JWT token but this would require to compile the JWT library (mORMotJWT or JOSE) on the client side.

 

Let me know your thoughts about it.

Sincerely,

Andrea

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×