-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Token and Storage Token Update #202
Conversation
updated code to reflect using of the new token
Merging to
|
* skipping tests with pytest skip tests and giving a good reason for each one * removing unneeded `cript_api` argument for tests that don't need it * uncommented the tests and the imports at the top * optimized imports as well
all tests passing successfully
made it into named arguments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests aren’t passing yet.
It is a working design, I think but not great.
How does the front end get the storage token?
Is there an end point where it is requested from?
ideally we would not have the user provide the storage token separately.
Instead we request that token like the front end. And validate that request with the api token as before.
the skip did not work on it because it is only a function and the pytest skip decorator needs to go on all the actual tests for it to skip correctly
Description
frontend now allows users to grab http token and cloud storage from security page. This update is changed to reflect working with that.
Changes
token
toapi_token
to differentiate between different kinds of tokensBearer
in front of the token within the code and user can just pass in a raw JWT and we prepare it for themstorage_token
to interact with AWS S3 in cognito modedocs/exampls/synthesis.md
api initialization to pass the CITests
None
Known Issues
CONTRIBUTORS.md
) in the pull request source branch.