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

Progressinator doesn't update API token #13

Open
avidadearthur opened this issue Jun 26, 2020 · 2 comments
Open

Progressinator doesn't update API token #13

avidadearthur opened this issue Jun 26, 2020 · 2 comments

Comments

@avidadearthur
Copy link

First of all I would like to thank you for the initiative of opening AC web courses for everyone to learn! By what I have seen so far it's a really comprehensive and didactic content.
Regarding the issue, when I changed my github username a few days ago algonquin's website didn't provided me a new API token for using markbot.
I revoked access to AC web platform on the Authorized OAuth Apps settings, cleared the website cookies tried to sign in with my new username and the token would still be the same. In the end I just switched back to my old username and I could use the application with no problem.
@thomasjbradley

@thomasjbradley
Copy link
Member

I think the system tries to match changes to the GitHub username to the same user in the Progressinator database—likely through email address.

@avidadearthur
Copy link
Author

Well, this application is quite complex and I'm not familiar with Django but I noticed that on this Migration class the 'UserProfile' model doesn't mention an email field so I wonder if this affects propagating the changes users make on their accounts to the Progressinator database.
https://github.com/acgd-learn-the-web/progressinator/blob/00182741d506d23e66c8d54b8d224c69cb04b756/progressinator/core/migrations/0001_initial.py#L33-L40

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

No branches or pull requests

2 participants