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

jwt settings #122

Merged
merged 7 commits into from
Jul 8, 2024
Merged

jwt settings #122

merged 7 commits into from
Jul 8, 2024

Conversation

enolfc
Copy link
Contributor

@enolfc enolfc commented Jun 20, 2024

Summary

Make the API wrapper configurable so it runs beyond the simple local scenario


Related issue :

@@ -188,11 +188,12 @@ async def get_resources(self, access_token):
async def authenticate(self, handler, data=None):
# first get authorized upstream
user_data = await super().authenticate(handler, data)
context = quote_plus(getattr(self, "d4science_context", None))
context = getattr(self, "d4science_context", None)
Copy link
Contributor

Choose a reason for hiding this comment

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

i guess this will need to be updated when this is merged #117

@valtri
Copy link
Contributor

valtri commented Jul 4, 2024

The code is working (except the known missing parts, which can go in another PR). So it could be approved.

What about the D4Science part? Is this PR safe to merge?

Copy link
Contributor

@andrea-manzi andrea-manzi left a comment

Choose a reason for hiding this comment

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

tested by @valtri, Looks good to go!

@enolfc enolfc merged commit a81a014 into EGI-Federation:main Jul 8, 2024
3 checks passed
@enolfc enolfc deleted the jwt-settings branch July 8, 2024 10:36
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.

3 participants