Open pimmerks opened 2 weeks ago
This sounds like an interesting idea, feel free to send a pull request with this feature and just keep in mind to leave some option to enable or disable it.
I guess you can add some logic similar to the one that we use to validate if a PAT token is deleted in this part of the code
And you can parse the token similar to this.
Or you can also parse it like this.
Feature description 💡
Hi, we would like to have an option available to automatically add users to the correct Organization based on the ID/JWT token that the user is authenticated with.
This feature can have different use-cases:
The general flow would be:
organization
{..., "organization": "org-a", ...}
)org-a
existsorg-a
We could possible also create the organization if it does not exists yet.
This behaviour should be configurable in the settings.
I am able to help with creating a PR if you see value in this feature.
Anything else?
No response