Project

General

Profile

Task #6992

Replace 'authenticatoin_token' text depending on deployment environment

Added by Peter Slaughter over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
03/22/2016
Due date:
% Done:

0%

Estimated time:

Description

Currently the user profile "Token for DataONE R" tab generates text for the R option named "authentication_token". The R client has been updated so that a different option name needs to be printed depending on whether the token is being created for the
production environment (i.e. from search.dataone.org) or for a test environment (search*.test.dataone.org). For production, the option name should be "dataone_token" and for test environments it should be "dataone_test_token". (This is
fully described at https://github.com/DataONEorg/rdataone/issues/139)

History

#1 Updated by ben leinfelder over 4 years ago

Just curious why there needs to be a different option depending on the environment.

#2 Updated by Peter Slaughter over 4 years ago

The separate production and test tokens support the use case where a user is concurrently working in both environments, which has been seen in several
instances recently. Switching the token definition
between two values is cumbersome and error prone, partially because it is not possible for the client to inspect the token to determine which environment
is is valid for. This feature is really just for user convenience. There are more details in the github issue that show a user's perspective (an expert user BTW).

#3 Updated by Lauren Walker over 4 years ago

  • Target version set to 1.11.2
  • Assignee set to Lauren Walker

#4 Updated by Lauren Walker over 4 years ago

  • translation missing: en.field_remaining_hours set to 0.0
  • Status changed from New to Resolved

Also available in: Atom PDF