Comments (7)
You could try to do the following, given that the auth data are in $_GET['Authorization']
now:
-
Open
grauphel/lib/oauth.php
-
Go to line ~162 which reads
//$_SERVER['REDIRECT_HTTP_AUTHORIZATION'] = $_SERVER['HTTP_AUTHORIZATION'];
-
Add the following line below:
$_SERVER['REDIRECT_HTTP_AUTHORIZATION'] = $_GET['Authorization'];
Now try to authenticate and tell me if that worked.
from nextcloud-grauphel.
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.
@MegaS0ra: This line will only help if you have setup the workaround for webfaction as described in the linked documents.
from nextcloud-grauphel.
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.
Sorry, I can't help any further without access to the server.
from nextcloud-grauphel.
@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.
Version 0.6.1 released which contains the fix for this issue.
from nextcloud-grauphel.
Related Issues (20)
- Logging error Declaration of OCA\Grauphel.. must be compatible.. HOT 1
- Please update for NextCloud 15 HOT 3
- App gets disabled periodically from Nextcloud HOT 21
- Please update for NextCloud 16 HOT 28
- Nextcloud 17 HOT 3
- Switch to changelog format recognized by apps.nextcloud.com HOT 3
- Sync with Tomboy/Tomdroid works on WiFi but not over 4G mobile network - HTTP/1.1 401 Unauthorized HOT 3
- please update for Nextcloud 19 and 20 HOT 6
- Unified search implementation (Nextcloud 20) HOT 5
- Support Request: oauth failure HOT 2
- app.php is deprecated (NextCloud 20) HOT 2
- Unknown token: temp / HOT 5
- Seeking new maintainer (or funding for standalone version) HOT 5
- cannot be installed on Nextcloud 23: "The appinfo/database.xml file is not longer supported" HOT 3
- app.php is not loaded... HOT 6
- Install error Unknown column type "timestamp" requested HOT 5
- nextcloud 20 update to 1.0.1 not possible HOT 10
- Doctrine error installing 1.06 on Nextcloud 23 HOT 1
- Cannot Log-in or add client (error 500) HOT 3
- Cannot install from appstore on NC24 or NC25
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextcloud-grauphel.