Learn how to authenticate users securely in your Replit extensions using the auth API module. Get and verify JWT tokens for user authentication.
auth
api module allows you to securely authenticate a Replit user if they use your extension.
auth.getAuthToken
auth.verifyAuthToken
auth.authenticate
Property | Type |
---|---|
id | number |
Property | Type |
---|---|
installation | AuthenticatedInstallation |
user | AuthenticatedUser |