Skip to content

How to use authorization

seriousm4x edited this page Aug 21, 2023 · 5 revisions

First setup

After installing UpSnap you are prompted to create an admin user. Admin users have full control of everything.

Register Login
upsnap-setup upsnap-login

Managing users

To create/change/delete users, visit http://localhost:8090/users/.

Who can access what?

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.

Can authorization be disabled?

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.

External auth providers

Check wiki/auth-providers to see other available login methods.