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

Allow user_profile endpoint to be accessible via api #763

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

Evan-Leon
Copy link
Contributor

Receive a non error status response from user_profile endpoint via API w/ token.

@Evan-Leon Evan-Leon added bug Something isn't working enhancement New feature or request api Issues or improvements related to the backend api labels Aug 23, 2024
@rahulbot
Copy link
Collaborator

Can you say more about the reason this is being added? Just thinking forward to when we focus on security more and trying to be defensive in the situation where someone loses/publishes their API key. Is there any data returned by this that is potentially sensitive or unnecessary and should be stripped before returning? ie. password-hash, last-login, full name, email, date joined?

@Evan-Leon
Copy link
Contributor Author

Evan-Leon commented Aug 23, 2024

This was added to satisfy a test in the API client. If accessed via API will not return any relevant information, but will now accessible with token and shouldn't fail test (in response to issue #740)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issues or improvements related to the backend api bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants