Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

Authentication with JWT doesn't work #2780

Open
ar1em opened this issue Nov 2, 2019 · 0 comments
Open

Authentication with JWT doesn't work #2780

ar1em opened this issue Nov 2, 2019 · 0 comments

Comments

@ar1em
Copy link

ar1em commented Nov 2, 2019

  • Your Rocket.Chat app version: 3.5.1
  • Your Rocket.Chat server version: 2.2.0
  • Device (or Simulator) you're running with: IPhone 7+

I used https://github.com/RocketChat/Rocket.Chat/blob/develop/docker-compose.yml to setup my Rocket.Chat server and https://github.com/jitsi/docker-jitsi-meet to setup my Jitsi meet server.

I enabled JWT authentication in Jitsi:

# Enable authentication.
ENABLE_AUTH=1
# Enable guest access.
ENABLE_GUESTS=0
# Select authentication type: internal, jwt or ldap
AUTH_TYPE=jwt
# Application identifier.
JWT_APP_ID=*****
# Application secret known only to your token.
JWT_APP_SECRET=****

Also I configured Rocket.Chat server: enabled video Conference with Jitsi, added JWT_APP_ID and JWT_APP_SECRET.

Jitsi audio and video conference work fine, when I use web application in Google Chrome.

However, it doesn't work with IOS application: while using the conference, login form appears and demands email and password.

I expect that IOS application authenticates me automatically in jitsi.

Please advise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant