Add the concept of authentication methods that authenticate an account where using the telegram login widget is one such method. If a login is done with an authentication method that's not associated with any account the session ends up with the data from the authentication method in order to allow registering a new account with the authentication method. This has to be stored on the session as otherwise it wouldn't be possible to implement authentication methods such as OAuth2 that takes the user to a third-party site and then redirects the browser back. |
||
---|---|---|
.. | ||
api | ||
utils | ||
database.ts | ||
generate-demo-schedule.ts | ||
streams.ts | ||
tsconfig.json | ||
web-push.ts |