-
-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Can't invite user to workspace #973
Comments
@duypv You need be using admin email for the following env:
which can be the same as:
|
you mean it need to be same value? Right now, magic link work but I can't invite other user. |
@duypv Yes, you can use the same value (copy from |
Just saw this issue. I still have an error with email invitation, though I'm correctly setting |
Hi, have you found a solution? |
I'm unable to reproduce this issue. Do check that the following env var is set correctly:
You may also inspect the logs in |
@duypv Are you still facing this issue? The only way I can think of scenario in the above is where you have logged in as a non-admin user, but you somehow manage to get into the admin page |
yes, please note magic link work normal. But invite mail to workspace don't work. So I don't think SMTP config is reason. |
@duypv invite to workspace do you mean in the "invite" section? on the left panel of non-admin user? |
on both: desktop app and admin ui. No email sent. |
@duypv you actually dont need email for workspace invitation to work(it's for notification and convenience). you can have the invitee to login to your self host cloud |
Describe the bug
Can't invite user to workspace
To Reproduce
Steps to reproduce the behavior:
Screenshots
Log gotrue:
{
"component": "api",
"error": "this token needs to have one of the following roles: service_role, supabase_admin",
"level": "info",
"method": "POST",
"msg": "this token needs to have one of the following roles: service_role, supabase_admin",
"path": "/admin/generate_link",
"referer": "appflowy-flutter://",
"remote_addr": "172.23.0.4",
"request_id": "a73e40f6-1499-4497-8066-7a3b17870c7d",
"time": "2024-11-08T05:42:51Z"
}
Log Applowy cloud
{
"timestamp": "2024-11-08T04:56:44.118907Z",
"level": "ERROR",
"fields": {
"error": "User not allowed"
},
"target": "appflowy_cloud::api::workspace",
"filename": "src/api/workspace.rs",
"line_number": 329,
The text was updated successfully, but these errors were encountered: