Skip to content

If all fields required when I issue stateless channel token #823

Open
@THChen2002

Description

@THChen2002

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions