JWT Auth API

JSON Web Token Authentication for your OctoberCMS API integrated with RainLab.User

Back to JWT Auth API Support

zbarnes75648
zbarnes75648

I'm using October CMS build 3.1.25. When trying to install the plugin I get the error:

Migrating Application and Plugins

In Yaml.php line 43:

A syntax error was detected in /var/www/html/plugins/vdomah/jwtauth/updates/version.yaml. The string "!!! Generate JWT Authentication Secret using php artisan jwt:generate and assign generated value to JWT_SECRET in .env" could no t be parsed as it uses an unsupported built-in tag at line 20 (near "!!! Generate JWT Authentication Secret using p hp artisan jwt:generate and assign generated value to JWT_SECRET in .env") at line 43 (near "/var/www/html/vendor/o ctober/rain/src/Parse/Yaml.php").

Any help would be greatly appreciated.

zbarnes75648
zbarnes75648

The problem was solved by removing the invalid characters in the yaml file, and then running the migration command.

baberuth22
baberuth22

I confirm, removing the "!!!" on 2 lines in the yaml file resolved the issue.

1-3 of 3