From 1910e36effc4a93078df0bddd2caf83f0c9f9330 Mon Sep 17 00:00:00 2001
From: Nanjiang Shu
- Your access token is: -
-{{.Token}}- {{end}} - {{if .ExpDate}} -
- Your access token expires (UTC): -
-{{.ExpDate}}+
+ For uploading to the Inbox, your access token {{if .ExpDate}}(expires at {{.ExpDate}} UTC){{end}} is: +
+{{.Token}}{{end}} - Download inbox s3cmd credentials + Download credentials to upload to the Inbox Continue diff --git a/sda/cmd/auth/main.go b/sda/cmd/auth/main.go index 576b4266e..1fe808846 100644 --- a/sda/cmd/auth/main.go +++ b/sda/cmd/auth/main.go @@ -220,7 +220,7 @@ func (auth AuthHandler) getEGALogin(ctx iris.Context) { // getEGAConf returns an s3config file for an oidc login func (auth AuthHandler) getEGAConf(ctx iris.Context) { - auth.getS3Config(ctx, "ega", "s3cmd.conf") + auth.getS3Config(ctx, "ega", "s3cmd-inbox.conf") } // getOIDC redirects to the oidc page defined in auth.Config