Skip to content
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

Added preliminary authorization #44

Merged
merged 1 commit into from
May 21, 2024

Conversation

turetske
Copy link
Collaborator

@turetske turetske commented May 14, 2024

-- Can pass authorization as headers or as a query string
-- Added basic pytests for auth headers/query strings
-- Removed extraneous imports

Note that this takes advantage that most '**kwargs' are parsed on to the http fsspec, which means for the most part auth headers and query strings are a pass through. Only in get_working_cache do we need to ensure that the authorization headers are passed into http session

@turetske turetske requested a review from bbockelm May 14, 2024 21:52
@turetske turetske linked an issue May 14, 2024 that may be closed by this pull request
Copy link
Member

@jhiemstrawisc jhiemstrawisc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

	-- Can pass authorization as headers or as a query string
	-- Added basic pytests for auth headers/query strings
	-- Removed extraneous imports
@turetske turetske merged commit 22dcdcf into PelicanPlatform:main May 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Authorization
2 participants