Skip to content

[sub pr: #100] Rename classes & refactor fork token handling flow #101

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

Draft
wants to merge 5 commits into
base: NewFlowChanges
Choose a base branch
from

Conversation

craftxbox
Copy link

Attempts to follow most of the review feedback given aswell.

"""

def has_permission(self, request, view):
auth_header = request.headers.get("Authorization")
Copy link
Member

Choose a reason for hiding this comment

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

I imagine you didn't like the X-Character-Token header. I think it was good to keep them separated and so we always know what we are talking about

Copy link
Author

Choose a reason for hiding this comment

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

Maybe only a minor thing however there's reasons not to put secrets in headers other than Authorization: https://stackoverflow.com/a/43164958/3934270

@craftxbox
Copy link
Author

tested as working from Postman

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.

2 participants