Can two different companies/ projects use same database and authentication?
ADMIN
Is it possible to set Xano up such that two different project share the same user database and user authentication? For example, Uber and Uber Eats are two different websites but have the same users and share the same authentication.
Best Answer
-
Sure, you can work within 1 single workspace so both entities would have access to the same databases and authentication requirements. That would definitely be the simplest solution.
Alternatively, if you wanted to keep it separate and share authentication, you could call the authentication endpoints as external API requests, specifically leaning on the /auth/me endpoint that is generated by default to check if a user is authenticated before proceeding with any other execution. This differs from how authentication is typically handled because you will have to build your own calls and preconditions to handle the result of that /auth/me call, and on the APIs that are not contained in the workspace that has the user table, native auth would be disabled.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback