diff --git a/src/containers/token/token-standalone.tsx b/src/containers/token/token-standalone.tsx index eea1490824..371aadf222 100644 --- a/src/containers/token/token-standalone.tsx +++ b/src/containers/token/token-standalone.tsx @@ -9,6 +9,7 @@ import { Main, ClipboardCopy, EmptyStateUnauthorized, + DateComponent, } from 'src/components'; import { ActiveUserAPI } from 'src/api'; import { AppContext } from 'src/loaders/app-context'; @@ -29,6 +30,7 @@ class TokenPage extends React.Component { render() { const { token } = this.state; let unauthorised = !this.context.user || this.context.user.is_anonymous; + const expiration = this.context.settings.GALAXY_TOKEN_EXPIRATION; return ( @@ -45,6 +47,17 @@ class TokenPage extends React.Component { client.

+ {this.context.user.auth_provider !== ['django'] && ( +
+

{t`Expiration`}

+

+ + You are an SSO user. Your token with expire at{' '} + + +

+
+ )}
WARNING loading a new token will delete your old token.