Summary of Your Question
I encountered an issue while using the issue_stateless_channel_token() function with the channel ID and channel secret for authentication. When I omit the client_assertion_type and client_assertion parameters, an error occurs. However, based on my understanding, these two parameters should only be required when using JWT assertion for authentication. Since I'm not using JWT, I expected the function to work without providing client_assertion_type and client_assertion.
What You've Tried
I pass empty strings '' for both client_assertion_type and client_assertion, the token is issued successfully.
Your Environment
- Python version: 3.12.9
- line-bot-sdk-python version: 3.16.3
Summary of Your Question
I encountered an issue while using the
issue_stateless_channel_token()function with thechannel IDandchannel secretfor authentication. When I omit theclient_assertion_typeandclient_assertionparameters, an error occurs. However, based on my understanding, these two parameters should only be required when using JWT assertion for authentication. Since I'm not using JWT, I expected the function to work without providingclient_assertion_typeandclient_assertion.What You've Tried
I pass empty strings
''for bothclient_assertion_typeandclient_assertion, the token is issued successfully.Your Environment