Skip to content

Commit 2c6dd2f

Browse files
authored
Merge pull request #240 from koukikitamura/master
Don't require channel_id & channel_secret when call api related to JWT
2 parents 83aca1e + e2eacba commit 2c6dd2f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Diff for: lib/line/bot/client.rb

-6
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,6 @@ def revoke_channel_token(access_token)
116116
#
117117
# @return [Net::HTTPResponse]
118118
def issue_channel_access_token_jwt(jwt)
119-
channel_id_required
120-
channel_secret_required
121-
122119
endpoint_path = '/oauth2/v2.1/token'
123120
payload = URI.encode_www_form(
124121
grant_type: 'client_credentials',
@@ -154,9 +151,6 @@ def revoke_channel_access_token_jwt(access_token)
154151
#
155152
# @return [Net::HTTPResponse]
156153
def get_channel_access_token_key_ids_jwt(jwt)
157-
channel_id_required
158-
channel_secret_required
159-
160154
payload = URI.encode_www_form(
161155
client_assertion_type: 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer',
162156
client_assertion: jwt

0 commit comments

Comments
 (0)