GithubHelp home page GithubHelp logo

Comments (7)

cweiske avatar cweiske commented on July 29, 2024

You could try to do the following, given that the auth data are in $_GET['Authorization'] now:

  1. Open grauphel/lib/oauth.php

  2. Go to line ~162 which reads

    //$_SERVER['REDIRECT_HTTP_AUTHORIZATION'] = $_SERVER['HTTP_AUTHORIZATION'];
    
  3. Add the following line below:

    $_SERVER['REDIRECT_HTTP_AUTHORIZATION'] = $_GET['Authorization'];
    

Now try to authenticate and tell me if that worked.

from nextcloud-grauphel.

MegaS0ra avatar MegaS0ra commented on July 29, 2024

Hi,

I have the same problem, but on Owncloud 7. (Ether I use Apache module or FastCGI, I have the same issue).
Adding the previous line did not solved it.

Thank you for your help

from nextcloud-grauphel.

cweiske avatar cweiske commented on July 29, 2024

@MegaS0ra: This line will only help if you have setup the workaround for webfaction as described in the linked documents.

from nextcloud-grauphel.

prasinos avatar prasinos commented on July 29, 2024

Thanks for answering.

I added the line in lib/oauth.php and still no joy. owncloud.log has errors like:

{"reqId":"cf42ca88ef649344919dabae40b9633e","remoteAddr":"193.92.17.136","app":"PHP","message":"Undefined index: Authorization at /home/prasinos/webapps/owncloud/apps/grauphel/lib/oauth.php#164","level":3,"time":"2015-07-23T16:10:28+00:00"}

from nextcloud-grauphel.

cweiske avatar cweiske commented on July 29, 2024

Sorry, I can't help any further without access to the server.

from nextcloud-grauphel.

cweiske avatar cweiske commented on July 29, 2024

@prasinos: You can try to replace the contents of lib/oauth.php with https://raw.githubusercontent.com/cweiske/grauphel/15b372c9ce79ceb2d3c69247622f8c099f4adf7c/lib/oauth.php

This should make it work.

from nextcloud-grauphel.

cweiske avatar cweiske commented on July 29, 2024

Version 0.6.1 released which contains the fix for this issue.

from nextcloud-grauphel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.