【问题标题】:How to integrate gitlab or github account setup with laravel in localhost or 127.0.0.1:8000?如何在 localhost 或 127.0.0.1:8000 中将 gitlab 或 github 帐户设置与 laravel 集成?
【发布时间】:2017-06-18 06:48:34
【问题描述】:

在 MAMP 上本地集成 gitscrum 时,我不断收到无效的 URL..?

github 的错误日志是

客户端异常 客户端错误:GET https://api.github.com/user?access_token= 导致 401 Unauthorized 响应: { "message": "凭证错误", "documentation_url": "https://developer.github.com/v3" }

gitlab 的错误日志 -> 包含的重定向 URI 无效。它显示了这一点,仅此而已。

如何在 MAMP 上的本地服务中进行身份验证。

【问题讨论】:

    标签: php laravel-5


    【解决方案1】:

    https://mattstauffer.co/blog/using-github-authentication-for-login-with-laravel-socialite

    按照本教程,您甚至可以从 localhost 启动并运行。

    或者你应该为此发布你的代码,否则很难找到你的错误。

    【讨论】:

    • 非常感谢您的回答。根据链接找到了解决办法,只是URI不匹配错误。
    猜你喜欢
    • 2021-08-20
    • 2023-03-09
    • 2019-03-16
    • 2020-12-18
    • 2018-06-28
    • 1970-01-01
    • 1970-01-01
    • 2020-12-17
    • 2020-03-22
    相关资源
    最近更新 更多