Megabit / Blazorise

Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Tailwind, Bulma, AntDesign, and Material.
https://blazorise.com/
Other
3.27k stars 530 forks source link

[Bug]: Renewed license token not woring #5524

Closed tacoWanneeJama closed 3 months ago

tacoWanneeJama commented 4 months ago

Blazorise Version

Latest

What Blazorise provider are you running on?

Bootstrap5

Link to minimal reproduction or a simple code snippet

After renewing the Blazorise license I put in the new product token in my application. Now it complains about a not-licensed application. I use the token starting with: "Cjx...". What do I do wrong? image

Steps to reproduce

See above

What is expected?

No license warning

What is actually happening?

License warning in console

What browsers do you see the problem on?

Chrome

Any additional comments?

No response

tacoWanneeJama commented 4 months ago

After a license renewal I have to manually revoke the old taken and generate a new one? Why is not automatically a new token generated when the license renewal is accepted?

stsrki commented 4 months ago

Yes, the product token must be manually revoked and then generated with the new license. We could automatically do that for you; I admit it is not a bad idea. But, since the token is still validated offline, you would still have to manually copy/paste it to your app.

@David-Moreira, do you think we could at least regenerate the token automatically?

David-Moreira commented 4 months ago

If you want to keep using the latest Blazorise version indeed, you need to regenerate the product token. But the old product token is still valid for older versions for the license period that you have bought. So if we were to regenerate, this old product token would be lost.

But since the latest product token will always be the most permissive version wise, maybe it's indeed worth it. I'm just not sure if that's even more confusing to the user or not? He gets to the dashboard and the product token does not match what he has currently?

And If I remember correctly we implemented a warning in the dashboard that let's the user know the product token is stale, did that warning not show to you @tacoWanneeJama ?

tacoWanneeJama commented 4 months ago

David, I did not see any warnings in the portal about the license being stale or any mail about it. The buying of the license is done by my colleague, not by me. So maybe some mail have gone to him, and not to me.

David-Moreira commented 4 months ago

@stsrki want to go with auto regenerate? Or making sure that the warning is there instead? (Something like a yellow (or even red) exclamation mark)

stsrki commented 4 months ago

No, I would rather it stays as it is. For example, every third-party service that I use that can have some kind of API key or similar after an expiration will not regenerate. I must personally log in and generate a new key and/or invalidate the existing one before regenerating.

So, instead of generating a new key automatically, I would notify by email and explain that the new token must be regenerated. Also, explain in the documentation the steps required.

David-Moreira commented 4 months ago

Ok that seems ok to me, improve on notification instead.

David-Moreira commented 3 months ago

This has now been improved.

"Once your account is activated, you will be able to generate a Product Token that you can use to activate your Blazorise components Please take note that this Product Token will only be valid for the duration of your license. You can generate a new Product Token at any time and are required to do so once your license is renewed."

Closing issue.