App Template: Custom Login/Register/Logout/Reset Password page #6098
Replies: 18 comments 23 replies
-
Shows error creating app |
Beta Was this translation helpful? Give feedback.
-
I'm trying to get this to work but it seems like my instances API is not working, how do I make sure its working and taking requests? |
Beta Was this translation helpful? Give feedback.
-
Hello,
Thanks for sharing your sample, but I wanted to know where (and, how) could be possible to edit these Restful API queries, if possible. And, if possible too, wanted to know if these Restful API queries could be put in navigation links, of course too. Any commented advice should be greatly appreciated. Tks in adv |
Beta Was this translation helpful? Give feedback.
-
First of all, thank you very much for this sample. I'm very new to Budibase and programming, so please excuse me if I might ask some silly questions. Do you have any hint or example why this won't work using your custom login page and REST API's? Below some screenshots as a reference. Any help is much appreciated. Thank you. e |
Beta Was this translation helpful? Give feedback.
-
When trying to login I get a 403 error. I tried using "https://budibase.app/api/global/auth/{subdomain}/login" and it returns a 200 code and some cookies on the header (using Postman). CURL for reference: Here's my revised version based on the one from @xnohat : I read somewhere that it could be because of a CORS issue, but I'm lost trying to figure it out. |
Beta Was this translation helpful? Give feedback.
-
@xnohat Thanks so much for this, it's such a great solution. Anyone, I'm stuck on such a noob issue. For all other tables in Budibase, the UID will be displayed in a browser url bar like this, which is what is in the template placeholder: But because the REST datasource is trying to query the Users table, the UID for the Users table is not so readily clear. And manually looking at a single rowid only gives something like: The GET query works fine if I link it to another database. But the point of the app is to update the Users database. |
Beta Was this translation helpful? Give feedback.
-
Can Anyone help me with this |
Beta Was this translation helpful? Give feedback.
-
I have been tried using other data source as authentication source for budibase but is hard if you using just budibase. On public page you cannot access any table without set that table or that datasource to public, this will lead to security problems Safest way is using my custom template above |
Beta Was this translation helpful? Give feedback.
-
Hi, great app! I already use it successfully in my project. I try to better understand how it works. What ist the purpose of the 'Forgot password global link' Embed component in Step 1 of the 'Login Form' on the /login screen? Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hello @xnohat I am having some difficulty implementing the logout button. The Javascript:
Is there something I am doing wrong? Or is there another way to implement the logout button? Thanks again, |
Beta Was this translation helpful? Give feedback.
-
Xnohat: Howdy: I am trying to use your template for the login screens etc. Ive NEVER fooled with REST queries etc, so im kinda going by feel here. When I send the restful query, I get Query Error: Thread timeout exceeded 10000ms timeout. Im building a school management database that will need everyone; parents, students, teachers, staff, office folks, admin folks etc etc to be able to log in to access their sections Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi @tglynx and other guys want to continue use this template for Budibase later v2.10.10 BB has been change in /users API to /users/bulk with different payload , so you need update query bb_create_users to below Endpoint:
Body:
Tested working with latest cloud Budibase. New user will assign immediately to your app. |
Beta Was this translation helpful? Give feedback.
-
AHHHHH ok -- well -- that shoots that idea, as the budibase host does not
have external access of any sort (For reasons not related to my budibase
installation)
Thanks a bunch
TIM
…On Thu, Sep 21, 2023 at 11:49 AM Hong Phuc Nguyen ***@***.***> wrote:
Hi @taholmes160 <https://github.com/taholmes160>
You API URL must change by go through bbproxy container because that path
only valid when access through internet, not internal access.
https://your-public-budibase-domain.com
—
Reply to this email directly, view it on GitHub
<#6098 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF4KRE4VM5652YT42ACN2UTX3ROYFANCNFSM5XFRHPCA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I’m using the self hosted option and I cannot get it to create users.
|
Beta Was this translation helpful? Give feedback.
-
Hi, does this work after recent updates making User table read-only and making 'Update a user' API call mostly available only with business/enterprise license? i.e. v2.11.XX |
Beta Was this translation helpful? Give feedback.
-
Thank you @xnohat for your great work. Creating new users (even with custom roles) works wonderful with endpoint But there is an issue when login over this template. It says that the user has been logged in, but that´s not true. Looking at the cookies I can see that the two cookies responsible for the auth are not set (in contrast to the normal BB login). Is there anyone for whom this works? And if so could you imagine where my fault lies? Is there a different endpoint for login function? Or is the action for the login button wrong:
|
Beta Was this translation helpful? Give feedback.
-
Good morning, I have Budibase in the free version, On-Premise, but after updating to version 2.10.12, the user creation REST stopped working correctly, resulting in the following message: "message": "Roles/admin/builder can only be set on business/enterprise licenses - input ignored." It creates the user but does not assign the BASIC role. Does this mean that from now on, I create users via REST but the roles have to be set on the platform? Can't I do it through REST anymore? |
Beta Was this translation helpful? Give feedback.
-
Is there a solution to make this work in hosted version of budibase? |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
Budibase is excellent platform for building apps, not only for internal apps, but also for external apps
I found that many guys asked how to create custom login/register page for Budibase, so I created a template app with custom Login/Register/Logout/Reset Password pages.
Usage:
Login Template-export-1653687114948.txt
Change:
I using some tricks & hacks here to inject Javascript to Budibase app pages
Love this platform 👍
Beta Was this translation helpful? Give feedback.
All reactions