PlaidWeb / Publ

Flexible publishing system for the web
http://publ.beesbuzz.biz/
MIT License
40 stars 4 forks source link

Register users who log in via TicketAuth grant #485

Closed fluffy-critter closed 2 years ago

fluffy-critter commented 2 years ago

Summary

When a user obtains a token via TicketAuth, add them to the known user table; fixes #483

When a user signs in via the TicketAuth request flow, also retrieve their IndieAuth profile; fixes #484

Detailed description

This adds a last_token column to the user table, and updates that when a user obtains a token grant. it also takes advantage of the fact the IndieAuth profile is being fetched as part of parsing out the endpoint, and uses that to update the user's profile.

Developer/user impact

There is a schema change, so a site reindex will take place.

Test plan

Got a site to show off?