Xano and Bubble - Custom authentication using sessions

preview_player
Показать описание
User authentication is the process of proving a user identity, doing this has many advantages, but depending of your needs you may want to use different techniques to achieve this. In this video we are going to use a combination of Bubble's and Xano's authentication system and store our JWT access token and refresh UUID token in the Local storage.

00:00 - Introduction
02:56 - How tokens are stored and sent
05:41 - Step 1. Create the session table
07:25 - Step 2. Create the function "Create session tokens"
12:14 - Step 3 and 4. Create signup and signin endpoints
16:20 - Step 5. Create the "refresh tokens" endpoint
28:02 - Step 6. Add the "_xanoid" field to Bubble's user table
29:16 - Step 7 and 8. Add the API calls to the API Connector
40:59 - Step 9 and 10. Connect the signup and signin forms
59:27 - Step 11. Refresh tokens
1:03:56 - Step 12. Refresh tokens on page load and check them

Рекомендации по теме
Комментарии
Автор

Thanks a lot for your videos, they are extremely helpful! I was wondering why you are suggesting to have XANO on Scale as minimunm plan, but I think I found the answer reading your blog, Scale plan is the only one that allows Test&Live version right?

LuigiGrossi
welcome to shbcf.ru