-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Untrusted Host error when generate token #2031
Comments
you do need descibre your applications versions, example PHPX, LARAVEL 7 or 8 |
Create a folder into of app folder, with name called jwt and insert it `<?php namespace App\jwt; use \Tymon\JWTAuth\Facades\JWTFactory; /**
class JWTProvider
} api.php
JWTProviderServiceProvider.php
app.php
USAGE use App\jwt\JWTProvider;
JWTProvider::key("eyJ0eXAiOi...")->decode(); i wait that it be useful, i will use laravel 8 more passport auth native laravel |
I still got error. Error Logs
|
I got it. I changed APP_URL in env. |
I got Untrusted Host error when generate token. I need to use jwt for multiple auth.
PHP - 7.2.5
Laravel - 7.0
The text was updated successfully, but these errors were encountered: