How to use /bearerToken API call

Description

How do I use this API call:
https://rest-docs.synapse.org/rest/GET/bearerToken.html

but I can do:

But this doesn't seem to use the synapse authentication, i can append anything after "service" and get a token:

I have code here that gets the actual bearer token and validates that the docker image exists: https://github.com/Sage-Bionetworks/challengeutils/blob/validate-docker/challengeutils/validate_docker.py.

Environment

None

Assignee

Unassigned

Reporter

Thomas Yu

Labels

None

Validator

Thomas Yu

Development Area

Challenges

Release Version History

None

Priority

Major
Configure