Skip to content

Commit

Permalink
Add log
Browse files Browse the repository at this point in the history
  • Loading branch information
MatMaul committed Aug 27, 2024
1 parent 1b79fd9 commit 064626c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ type SFUResponse struct {
func exchangeOIDCToken(
ctx context.Context, token OpenIDTokenType, skipVerifyTLS bool, homeserverAllowList []string) (*fclient.UserInfo, error) {
if token.AccessToken == "" || token.MatrixServerName == "" {
log.Printf("Wrong request format: %v", token)
return nil, errors.New("missing parameters in OIDC token")
}

Expand Down

0 comments on commit 064626c

Please sign in to comment.