Authentication/Authorization

PresQT will not have the ability to create a ‘session’ for the user based on authentication. It will be expecting tokens to be passed through the header of the request. When retrieving items it expects ‘presqt-source-token’ to be in the header. When depositing an item it expects ‘presqt-destination-token’ to be in the header.

Target Token Instructions

Open Science Framework

  1. Navigate to https://osf.io/ and login to your account.

_images/osf_step_1.png
  1. Upon logging in, click on your username in the top right corner and then click on Settings.

_images/osf_step_2.png
  1. Once in`` Settings, click on Personal Access Tokens in the left hand menu.

_images/osf_step_3.png
  1. Click on Create token.

_images/osf_step_4.png
  1. Create a token name and select all scope options. Then press Create token.

_images/osf_step_5.png
  1. Make sure you copy this token somewhere securely, this will be the only time it is shown to you.

_images/osf_step_6.png

CurateND

  1. Navigate to https://curate.nd.edu and login to your account.

_images/curate_nd_step_1.png
  1. In the top right corner, select Manage and then click on API Access Tokens.

_images/curate_nd_step_2.png
  1. Click on Create New Token.

_images/curate_nd_step_3.png
  1. Make sure you copy this token somewhere securely.

_images/curate_nd_step_4.png

GitHub

  1. Navigate to https://github.com and login to your account.

_images/github_step_1.png
  1. In the top right corner, select your profile picture and then click on Settings.

_images/github_step_2.png
  1. In the bottom left of your settings, select Developer Settings.

_images/github_step_3.png
  1. On the left hand side of this screen, select Personal Access Tokens.

_images/github_step_4.png
  1. Click on Generate New Token.

_images/github_step_5.png
  1. Add a note about what the token will be used for, and select all scopes. Then select Generate Token.

_images/github_step_6.png
  1. Make sure you copy this token somewhere securely, this will be the only time it is shown to you.

_images/github_step_7.png

Zenodo

  1. Navigate to https://zenodo.org and login to your account.

_images/zenodo_step_1.png
  1. In the top right corner, select your username and then click on Applications.

_images/zenodo_step_2.png
  1. In the Personal access tokens section, click on New token.

_images/zenodo_step_3.png
  1. Give the token a name and select all scopes, then click Create.

_images/zenodo_step_4.png
  1. Make sure you copy this token somewhere securely, this will be the only time it is shown to you.

_images/zenodo_step_5.png

GitLab

  1. Navigate to https://gitlab.com and login to your account.

_images/gitlab_step_1.png
  1. In the top right corner, select your username and then click on Settings.

_images/gitlab_step_2.png
  1. In the left hand menu, select Access Tokens.

_images/gitlab_step_3.png
  1. Give the token a name and select all scopes, then click Create personal access token.

_images/gitlab_step_4.png
  1. Make sure you copy this token somewhere securely, this will be the only time it is shown to you.

_images/gitlab_step_5.png

FigShare

  1. Navigate to https://figshare.com/account/login and login to your account.

_images/figshare1.png
  1. In the top right corner, select your username and then click on Applications.

_images/figshare2.png
  1. Scroll down to the bottom of the screen, and click Create Personal Token.

_images/figshare3.png
  1. Give the token a description (name), then click Save.

_images/figshare4.png
  1. Make sure you copy this token somewhere securely, this will be the only time it is shown to you.

_images/figshare5.png