Skip to content

Always shows owner of personal access token #73

@jasonaowen

Description

@jasonaowen

The display of the current user is great! ...but it seems to be stuck on @jaryncolbert. (Screenshot omitted for privacy.) I confirmed this with another Recurser.

At a glance, I believe the backend is requesting the "me" endpoint (https://www.recurse.com/api/v1/people/me) using the personal access token needed for server requests, rather than the current user's token:

def get_rc_profile():
"Return the RC API information for the currently logged in user"
headers = {'Authorization': f'Bearer {token}'}
url = 'https://www.recurse.com/api/v1/profiles/me'

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendDeals with backend components (API, DB, etc.)bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions