Skip to content

Commit fa8b2c0

Browse files
committed
Fix value returned by mod_unified_push jwk option
This needs to be a map to be recognized by jose
1 parent 4372c8f commit fa8b2c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mod_unified_push/src/mod_unified_push.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ mod_opt_type(expiration) ->
241241
%% TODO is there an upper bound for the validity of the JWT token?
242242
econf:int(0, 86400); %% 60 * 60 * 24
243243
mod_opt_type(jwk) ->
244-
econf:map(econf:binary(), econf:either(econf:binary(), econf:int()));
244+
econf:map(econf:binary(), econf:either(econf:binary(), econf:int()), [{return, map}]);
245245
mod_opt_type(push_url) ->
246246
econf:binary().
247247

0 commit comments

Comments
 (0)