Open gpahlevanzadeh opened 6 months ago
You run your jitsi admin under http or https?
I use it under http.(80)
Watch in the uri at keyclock. There ist a query parameter redirect_uri. Please check this parameter. Ist there a https?
No, redirect_uri is : http%3A2F%2Fadmin.meet.icr.ir
Yes, It's redirected to https. but I don't where I do change it to http
which commit do you use? This chould be fixed in the latest version
Is the base URL set correctly in the .env.prod.local
I changed to https and still I get invalid_uri
Is the base URL set correctly in the .env.prod.local
Do you mean VICH_BASE ?
I think my URLs in .env.prod.local has problem, my domain that jitsi-admin is running under it, it's admin.meet.icro.ir and it's run under http. in same server I have keycloak on 8080. Please giude me to configure .env.prod.local . Unfortunately I didn't find any documentation about configure .env.prod.local
by the way, my jitsi server is http://meet.icro.ir
you have to set you laF_baseUrl
with your corrct url. http://.......
or even better use the docker installation then everything will work out of the box
After 3 month, I decided to configure jitsi-admin, According to above, I have meet.icro.ir , it's jisti server and admin.meet.icro.ir and it's jitsi-admin, And my .en.prod.local is:
MERCURE_URL="http://127.0.0.1:3000/.well-known/mercure"
MERCURE_PUBLIC_URL="http://admin.meet.icro.ir"
MERCURE_JWT_SECRET="ebd66a186a3936a9693d6355979ded75"
WEBSOCKET_SECRET="ebd66a186a3936a9693d6355979ded75"
VICH_BASE="http://admin.meet.icro.ir"
laF_baseUrl="http://meet.icro.ir"
### End: App\Command\Installer\BasicConfig ###
### Start: App\Command\Installer\DbConfig ###
DATABASE_URL="mysql://jitsiadmin:jitsiadmin@127.0.0.1:3306/jitsi-admin?serverVersion=5.7"
### End: App\Command\Installer\DbConfig ###
### Start: App\Command\Installer\KeycloakConfig ###
OAUTH_KEYCLOAK_CLIENT_ID="jitsi"
OAUTH_KEYCLOAK_CLIENT_SECRET="YIWH1WJEB0Adin5glsJ0zZOPtsRXfZhc"
OAUTH_KEYCLOAK_SERVER="http://172.16.60.36:8080"
OAUTH_KEYCLOAK_REALM="master"
You made me happy if help me.
I setup keycloak and run it and open it's interface and created client id, username , admin username , token and so on. It was useful. I configure my .env.prod.local such as :
And when I opened admin.meet.icro.ir it redirect to the following URL and generated
invalid parameters: redirect_uri
By the way, I installed jitsi-admin under admin.meet.icro.ir How can I solve it?