-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: reva app auth #9079
feat: reva app auth #9079
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
c09eeae
to
77b2ae1
Compare
25aa108
to
7a36dc2
Compare
Somehow the app auth interface is not what I am expecting. The function is designed to be called from an authenticated request of the user.
|
Furthermore I don't think these scopes are of any help for the calendar and contacts integration: ocis/vendor/github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1/resources.pb.go Line 77 in afc6ed1
We need a scope like From my understanding these scopes can only be verified in the oCIS proxy. But prove me wrong .... |
Scopes are hardcoded in reva - kind of crazy - but okay ....
|
Please. Let's keep this PR limited to the migration topic for now. As was decided in #8522 (comment) |
Even then - scopes need to be set properly and I was wondering how this shall work. But I answered this myself already. THX |
😢
From the cli tool and the migration service you could just use the
Alternatively we could enhance the |
machine auth does not support scopes as far as I can see ....
but maybe I am missing something. to sum it up:
|
I guess that was a misunderstanding. I meant you could use machine auth (via the gateway) for getting a token for the target user. Which you can then use with |
Hooking myself in as I need to add a page in the admin docs when merged, |
59a4a4e
to
923ff61
Compare
seeing following error when trying to call
|
Saw a similiar issue before, looks like the connection to the provider doesn't work. Maybe a port issue. |
THX - sorted with @rhafer ... |
if err != nil { | ||
return nil, false | ||
} | ||
r.Header.Add(_headerRevaAccessToken, authenticateResponse.GetToken()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rhafer somehow the token is not evaluated in webdav requests down the line. We must be missing something ...
4f85ade
to
3100812
Compare
Quality Gate passedIssues Measures |
@DeepDiver1975 what needs to be decided to move this forward? |
@kobergj will finish it. I am out of this. Thx |
Good decision 👍 |
c37e8ce
to
87302bc
Compare
200e1cf
to
64798f2
Compare
0c8332d
to
edb82c4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Textwise this LGTM 👍
Signed-off-by: jkoberg <jkoberg@owncloud.com>
Signed-off-by: jkoberg <jkoberg@owncloud.com>
Signed-off-by: jkoberg <jkoberg@owncloud.com>
Co-authored-by: Martin <github@diemattels.at>
Signed-off-by: jkoberg <jkoberg@owncloud.com>
Co-authored-by: Martin <github@diemattels.at>
Signed-off-by: jkoberg <jkoberg@owncloud.com>
edb82c4
to
0737790
Compare
Signed-off-by: jkoberg <jkoberg@owncloud.com>
0737790
to
91396f5
Compare
Quality Gate passedIssues Measures |
Description
md-sources
on the same level where README.md is located. Put all the images and example files referenced by README.md into this folder.https://raw.githubusercontent.com/owncloud/ocis/master/services/<service-name>/md-sources/file
to make the content accessible for both README.md and owncloud.devbad
<img src="https://github.com/owncloud/ocis/blob/master/services/graph/images/mermaid-graph.svg" width="500" />
good
<img src="https://raw.githubusercontent.com/owncloud/ocis/master/services/graph/images/mermaid-graph.svg" width="500" />
OCIS_
.ocis/pkg/runtime
ocis/pkg/commands
ocis-pkg/config/defaultconfig.go
ocis/pkg/init/init.go
.drone.star
to enable CI.OCIS_
(global envvar).FullDefaultConfig()
inpkg/config/defaults/defaultconfig.go
of your service. It is needed to create the documentation.Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: