Closed canatufkansu closed 4 years ago
Hello,
Please make sure the INTL extension is installed and enabled in PHP CLI and the one used by the web server.
Please make sure the INTL extension is installed and enabled in PHP CLI and the one used by the web server.
I'm using Laradock it looks like it has INTL extension installed in it but I'll do some research how to make sure it is enabled or not.
I checked both my docker and host php versions they both seems to have INTL extension. When I run php -i in docker and on host terminal I get following
intl
Internationalization support => enabled
ICU version => 66.1
ICU Data version => 66.1
ICU TZData version => 2019c
ICU Unicode version => 13.0
Directive => Local Value => Master Value
intl.default_locale => no value => no value
intl.error_level => 0 => 0
intl.use_exceptions => 0 => 0
I also wrote echo phpinfo(); into main web route file of Laravel and see under Additional .ini files parsed row;
/usr/local/etc/php/conf.d/docker-php-ext-intl.ini,
and there is INTL part on phpinfo page;
Internationalization support | enabled
-- | --
version | 1.1.0
ICU version | 63.1
ICU Data version | 63.1
ICU TZData version | 2018e
ICU Unicode version | 11.0
I think INTL extension is installed on the enviroment but still getting this error.
This error only appears if INTL is not available.
Although, I think I found something. Please try to update composer and try again.
look for this version and let me know please https://github.com/joselfonseca/lighthouse-graphql-passport-auth/releases/tag/4.1.8
Should be fixed here https://github.com/joselfonseca/lighthouse-graphql-passport-auth/releases/tag/4.1.9
Should be fixed here https://github.com/joselfonseca/lighthouse-graphql-passport-auth/releases/tag/4.1.9
Hi,
I will check this issue and get back to you this week. Thanks for your time and effort.
Hi @joselfonseca,
My app is configured to pt-BR locale. My frontend is ok. But authentication messages are in english:
{
"errors": [
{
"message": "Authentication exception",
"extensions": {
"reason": "Incorrect username or password",
"category": "authentication"
}
}
]
}
Any idea?
Hi,
When I login with correct credentials I'm getting an access_token successfully. But when I try to login with wrong password I'm getting an server error rather than exception message.
My mutation is like following:
I'm getting following error: