Add links to prosody openidtoken-jwt auth docs

This commit is contained in:
Jason Robinson 2020-09-07 19:22:40 +03:00
parent ae83222d52
commit d2e9ea58fd
2 changed files with 2 additions and 4 deletions

View file

@ -395,10 +395,8 @@ async function _startCallApp(roomId, type) {
if (jitsiAuth === 'openidtoken-jwt') { if (jitsiAuth === 'openidtoken-jwt') {
// Create conference ID from room ID // Create conference ID from room ID
// For compatibility with Jitsi, use base32 without padding. // For compatibility with Jitsi, use base32 without padding.
// If the room ID needs to be decoded from the conference ID,
// the receiver should first uppercase it if needed and then add padding.
// More details here: // More details here:
// TODO add link // https://github.com/matrix-org/prosody-mod-auth-matrix-user-verification
confId = base32.stringify(Buffer.from(roomId), { pad: false }); confId = base32.stringify(Buffer.from(roomId), { pad: false });
} else { } else {
// Create a random human readable conference ID // Create a random human readable conference ID

View file

@ -39,7 +39,7 @@ export class Jitsi {
* *
* If the file does not exist, we assume no auth. * If the file does not exist, we assume no auth.
* *
* See TODO add link * See https://github.com/matrix-org/prosody-mod-auth-matrix-user-verification
*/ */
public async getJitsiAuth(): Promise<string|null> { public async getJitsiAuth(): Promise<string|null> {
if (!this.preferredDomain) { if (!this.preferredDomain) {