Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-2324

community beta: Token page assumes SSO, treats null expiration wrong

    • False
    • Hide

      None

      Show
      None
    • False

      Token page is not handling community mode quite right...

      https://github.com/ansible/ansible-hub-ui/blob/master/src/containers/token/token-standalone.tsx#L67-L77

      treats anything other than django as SSO,
      (community has auth_provider=['github'] (or ['django'] for anonymous))

      treats settings.GALAXY_TOKEN_EXPIRATION: null
      as "Your token will expire a few seconds ago"
      (that value should mean no expiration date)

              mhradil-1 Martin Hradil
              mhradil-1 Martin Hradil
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: