We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tried this on SSL but return wrong number of segments. Any clue?
my middleware:
public function handle($request, Closure $next) { try { // $token = JWTAuth::getToken(); $token = JWTAuth::getToken(); $getData = JWT::decode((string)$token, env('JWT_SECRET'), ['HS256']); if ($getData) { return $next($request); } else { return response()->json([ 'success' => 0, 'login' => 1, 'message' => ['Client not found'], ], 403); } } catch (\Exception $e) { return response()->json([ 'success' => 0, 'login' => 1, 'message' => [$e->getMessage()], ], 403); } }
The text was updated successfully, but these errors were encountered:
After enabling modules on apache, it return the Algorithm not allowed. What I am dong wrong?
Sorry, something went wrong.
No branches or pull requests
Tried this on SSL but return wrong number of segments. Any clue?
my middleware:
The text was updated successfully, but these errors were encountered: