Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Authentication problem with Laravel update


Hi.
I working on the Metronics Laravel app.
It was working well before I run "Composer update" to install the DebugBar.
After the upgrade I can't login to App.
Getting "Sorry, looks like there are some errors detected, please try again." error message.
From DebugBar i got this execption "Unauthenticated.
Applications/MAMP/htdocs/FInV2/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php#95"
*/
protected function unauthenticated($request, array $guards)
{
throw new AuthenticationException(
'Unauthenticated.', $guards, $this->redirectTo($request)
);
}


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)


I'm glad to hear it worked for you! If you have any further questions or need assistance with anything else, feel free to ask.



May I know which version Metronic version are you using? I think we already fixed this issue in the recent version. Could you please try to download from here?

https://devs.keenthemes.com/metronic/laravel

Thanks



Yes, I tried latest version and it works.
Thank you.



Hi Ilgar Mustafa,

Could you please check the browser console log for any additional error messages? The console log often provides more details about the issues, and it can help us identify the root cause of the authentication problem.

Feel free to share any error messages or warnings you find in the console log, and I'll do my best to guide you.


Thanks



Concole error log is as follows:
GET 401 (Unauthorized)
dispatchXhrRequest @ plugins.bundle.js:44221
xhr @ plugins.bundle.js:44030
dispatchRequest @ plugins.bundle.js:44320
request @ plugins.bundle.js:44637
httpMethod @ plugins.bundle.js:44673
wrap @ plugins.bundle.js:42060
(anonymous) @ general.js:126
Promise.then (async)
(anonymous) @ general.js:117


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(