-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move auth providers to corresponding frontends, clarify users instance (
#348)
- Loading branch information
Showing
7 changed files
with
77 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This storage.toml config file will start a reva service that: | ||
# - authenticates grpc storage provider requests using the internal jwt token | ||
# - authenticates http upload and download requests requests using basic auth | ||
# - serves the storage provider on grpc port 11000 | ||
# - serves http dataprovider for this storage on port 11001 | ||
# - /data - dataprovider: file up and download | ||
[core] | ||
max_cpus = "2" | ||
|
||
[log] | ||
level = "debug" | ||
|
||
[grpc] | ||
address = "0.0.0.0:17000" | ||
enabled_services = ["usershareprovider", "publicshareprovider"] # TODO ocmshareprovider | ||
enabled_interceptors = ["auth"] | ||
|
||
[grpc.services.usershareprovider] | ||
driver = "memory" | ||
|
||
[grpc.services.publicshareprovider] | ||
driver = "memory" | ||
|
||
[grpc.interceptors.auth] | ||
token_manager = "jwt" | ||
|
||
[grpc.interceptors.auth.token_managers.jwt] | ||
secret = "Pive-Fumkiu4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters