A quick repository demonstrating how to access the UCD Rosetta API. Please contact the Campus Identity team to obtain the required credentials for your API account.
Example of .env file
# Rosetta Client ID
ROSETTA_CLIENT_ID=obtain-from-the-identity-team
# Rosetta Client Secret
ROSETTA_CLIENT_SECRET=obtain-from-the-identity-team
# Rosetta Base URL
ROSETTA_BASE_URL=https://obtain-from-the-identity-team.io/api/v1/
# Rosetta OAuth URL
ROSETTA_OAUTH_URL=https://obtain-from-the-identity-team.io/token
# Rosetta Test IAM ID
ROSETTA_TEST_ID=member-iam-id-to-test-with