![]() ![]() The way Slack and others Single-Sign-On provides like Google SSO keep you logged in is by settings a browser cookie. in SQL you would have a many-2-many relation between the accounts and the workspaces table. The data structure for the Slack account is designed such that it can be linked to multiple Slack workspaces, e.g. There are two different concepts at work here: Relation between account and company / workspace So, I am thinking that when an employee wants to do an activity for a specific company he will send this unique token with the request to the server so that server knows for which company the activity was performed.ĭoes anybody know what is the best way of achieving this? A unique auth_token is associated with every company account. I am curious that how Slack is supporting this feature right now? Does it send some ID with every request to the server which indicates that the activity which just has been done is associated with the workspace under this ID? Or there is some unique sort of token associated with every workspace (on Slack API level)? I want to achieve the same in my application too. I create a single account on Slack and I can join multiple workspaces on Slack using this single account. And my problem can be perfectly mapped to what Slack is doing right now i.e. The major ones which I found are Slack and Asana. I have explored different platforms which are already supporting this feature. His single account can be associated with multiple companies. Now, what I want to do is that to allow an employee to work under more than one companies, but he does not have to make a separate account for each company. ![]() My application has two main types of accounts. The requirement of the application is that one user can be associated with multiple company accounts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |