laravel-ready / license-server

Ready to use License Server package for Laravel. Add a licensing system to your products or services.
MIT License
94 stars 21 forks source link

How to work with subdomains #8

Open ppalashturov opened 6 months ago

ppalashturov commented 6 months ago

Hi, My domain is domain.com! I tested with domain.com, WORKS!

I test with subdomain.domain.com and enable subdomain in config.

After license verification: object(stdClass)#165 (2) { ["status"]=> bool(false) ["message"]=> string(38) "Invalid license key or license source." }

Please help me!

Best regards!

relliv commented 6 months ago

Hi @ppalashturov, thanks to let me know. I didn't tesk with subdomains before but I'II take a look this night if I find some time.

ppalashturov commented 6 months ago

The other I note in the format by writing in the field example "domain.ert" fictitious name. There is no validation and a fatal error is thrown when calling: $license = LicenseService::addLicense($product, 'example.com', $user->id);

Please check or add the validity that it is an invalid domain name. Best regards!

ppalashturov commented 6 months ago

@relliv Hi, is there any solution to the problem?

ppalashturov commented 4 months ago

@relliv ???