Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)


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 http://127.0.0.1:8000/dashboard 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



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.



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.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(