reva
reva copied to clipboard
I cannot get the reva invitation token in nextcloud sciencemesh app.
when I am trying to connect to the reva using sciencemesh bextcloud/owncloud app All of procedure such as sebdinng request from app to reva and the process of reva user authenticating using nextcloud/owncloud are finished successfuly but at the end there is some wrarning and thos prevent from generating the token:
2022-05-19 12:06:55.06 INF ../../pkg/auth/manager/nextcloud/nextcloud.go:124 > am.do http://localhost:8010/index.php/apps/sciencemesh/~admin/api/auth/Authenticate {"clientID":"admin","clientSecret":"C1OlpYfcCNyUtShp3ZaO97FWgPWL8o5X"} dkuowaueXObvkTqLhxexKkQn7mqzfdHv pid=21863 pkg=rgrpc traceid=0ae0f45fc51bb16e23c0c3592e6e3f3e
2022-05-19 12:06:55.399 INF ../../pkg/auth/manager/nextcloud/nextcloud.go:143 > am.do response 200 {"user":{"id":{"idp":"http:\/\/localhost:19001\/","opaque_id":"admin"},"display_name":"admin","email":"[[email protected]](mailto:[email protected])","type":1},"scopes":{"user":{"resource":{"decoder":"json","value":"eyJyZXNvdXJjZV9pZCI6eyJzdG9yYWdlX2lkIjoic3RvcmFnZS1pZCIsIm9wYXF1ZV9pZCI6Im9wYXF1ZS1pZCJ9LCJwYXRoIjoic29tZS9maWxlL3BhdGgudHh0In0="},"role":1}}} pid=21863 pkg=rgrpc traceid=0ae0f45fc51bb16e23c0c3592e6e3f3e
2022-05-19 12:06:55.399 INF ../../internal/grpc/services/authprovider/authprovider.go:141 > user idp:"http://localhost:19001/" opaque_id:"admin" authenticated pid=21863 pkg=rgrpc traceid=0ae0f45fc51bb16e23c0c3592e6e3f3e
2022-05-19 12:06:55.399 DBG ../../internal/grpc/interceptors/log/log.go:66 > unary code=OK end="19/May/2022:12:06:55 +0430" from=tcp://127.0.0.1:53010 pid=21863 pkg=rgrpc start="19/May/2022:12:06:55 +0430" time_ns=339177833 traceid=0ae0f45fc51bb16e23c0c3592e6e3f3e uri=/cs3.auth.provider.v1beta1.ProviderAPI/Authenticate user-agent=grpc-go/1.45.0
2022-05-19 12:06:55.4 DBG ../../internal/grpc/interceptors/log/log.go:66 > unary code=OK end="19/May/2022:12:06:55 +0430" from=tcp://127.0.0.1:53030 pid=21863 pkg=rgrpc start="19/May/2022:12:06:55 +0430" time_ns=144066 traceid=91db4b419140fd36cc47562ba96fedee uri=/cs3.storage.registry.v1beta1.RegistryAPI/GetStorageProviders user-agent=grpc-go/1.45.0
2022-05-19 12:06:55.401 INF ../../pkg/storage/fs/nextcloud/nextcloud.go:212 > nc.do req http://localhost:8010/index.php/apps/sciencemesh/~admin/api/storage/CreateStorageSpace {"opaque":{"map":{"space_id":{"decoder":"plain","value":"YWRtaW4="}}},"owner":{"id":{"idp":"http://localhost:19001/","opaque_id":"admin"},"display_name":"admin"},"type":"personal","name":"admin"} pid=21863 pkg=rgrpc traceid=ac49c97d6203fee96b9702899daf0be5
2022-05-19 12:06:55.727 INF ../../pkg/storage/fs/nextcloud/nextcloud.go:231 > nc.do res http://localhost:8010/index.php/apps/sciencemesh/~admin/api/storage/CreateStorageSpace {"status":{"code":1,"trace":"00000000000000000000000000000000"},"storage_space":{"opaque":{"map":{"bar":{"value":"c2FtYQ=="},"foo":{"value":"c2FtYQ=="}}},"id":{"opaque_id":"some-opaque-storage-space-id"},"owner":{"id":{"idp":"some-idp","opaque_id":"some-opaque-user-id","type":1}},"root":{"storage_id":"some-storage-id","opaque_id":"some-opaque-root-id"},"name":"My Storage Space","quota":{"quota_max_bytes":456,"quota_max_files":123},"space_type":"home","mtime":{"seconds":1234567890}}} pid=21863 pkg=rgrpc traceid=ac49c97d6203fee96b9702899daf0be5
2022-05-19 12:06:55.728 DBG ../../internal/grpc/interceptors/log/log.go:66 > unary code=OK end="19/May/2022:12:06:55 +0430" from=tcp://127.0.0.1:53032 pid=21863 pkg=rgrpc start="19/May/2022:12:06:55 +0430" time_ns=327059506 traceid=ac49c97d6203fee96b9702899daf0be5 uri=/cs3.storage.provider.v1beta1.ProviderAPI/CreateStorageSpace user-agent=grpc-go/1.45.0
2022-05-19 12:06:55.73 DBG ../../internal/grpc/interceptors/log/log.go:66 > unary code=OK end="19/May/2022:12:06:55 +0430" from=tcp://127.0.0.1:51820 pid=21863 pkg=rgrpc start="19/May/2022:12:06:55 +0430" time_ns=670487869 traceid=319e9d78a7370fcf6c58ed99ca1999cd uri=/cs3.gateway.v1beta1.GatewayAPI/Authenticate user-agent=grpc-go/1.45.0
2022-05-19 12:06:55.73 INF ../../internal/http/interceptors/auth/auth.go:258 > core access token generated pid=21863 pkg=rhttp traceid=c1469e52d94d5a8653ee70ddfe6a7a48
2022-05-19 12:06:55.73 INF ../../internal/http/interceptors/providerauthorizer/providerauthorizer.go:83 > skipping provider authorizer check for: /invites/generate pid=21863 pkg=rhttp traceid=c1469e52d94d5a8653ee70ddfe6a7a48
2022-05-19 12:06:55.73 DBG ../../pkg/rhttp/rhttp.go:250 > http routing: head= tail=/invites/generate svc=root pid=21863 pkg=rhttp
2022-05-19 12:06:55.73 DBG ../../internal/http/services/owncloud/ocdav/ocdav.go:219 > http routing head=invites pid=21863 pkg=rhttp tail=/generate traceid=c1469e52d94d5a8653ee70ddfe6a7a48
2022-05-19 12:06:55.73 WRN ../../internal/http/services/owncloud/ocdav/ocdav.go:267 > resource not found pid=21863 pkg=rhttp traceid=c1469e52d94d5a8653ee70ddfe6a7a48
2022-05-19 12:06:55.73 WRN ../../internal/http/interceptors/log/log.go:112 > http end="19/May/2022:12:06:55 +0430" host=127.0.0.1 method=POST pid=21863 pkg=rhttp proto=HTTP/1.1 size=0 start="19/May/2022:12:06:55 +0430" status=404 time_ns=671889565 traceid=c1469e52d94d5a8653ee70ddfe6a7a48 uri=/invites/generate url=/invites/generate