-
-
Notifications
You must be signed in to change notification settings - Fork 73
How to use authorization
After installing UpSnap you are prompted to create an admin user. Admin users have full control of everything.
Register | Login |
---|---|
To create/change/delete users, visit http://localhost:8090/users/.
You have full control over what permission each user has. Check the screenshots if you want to get an impression on what it looks like.
Up until version 3.0.6 there was no authorization. It is enabled by default since 3.1.0 and can not be disabled anymore.
Login tokens are valid for 14 days. The access token gets refreshed if it expires in less than 1 day.
You can increase the lifetime of access tokens in PocketBase's settings. Visit http://localhost:8090/_/#/settings/tokens and increase Auth record authentication token duration (in seconds)
for user tokens and Admins auth token duration (in seconds)
for admin tokens.
Check wiki/auth-providers to see other available login methods.