Skip to content

Commit 1be21da

Browse files
committed
Support getting token from path
1 parent dacfce1 commit 1be21da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/resty/pubsub/oauth_client.lua

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ function _M.new(self, oauth_config, topic)
2828
local instance = {
2929
topic = topic,
3030
service_account_key_path = oauth_config.service_account_key_path,
31+
service_account_token_path = oauth_config.service_account_token_path,
3132
oauth_base_uri = oauth_config.oauth_base_uri,
3233
oauth_scopes = oauth_config.oauth_scopes,
3334
oauth_token_time = 0, -- We need to maintain token fetch time so that we can update it before expiring

0 commit comments

Comments
 (0)