question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bearer Token Authentication Configuration

See original GitHub issue

Is there a config for use bearer token authentication easily?

Current:

var TOKEN='*******';
{
  broadcaster: 'pusher',
  // csrfToken: '******'
  auth: {
      headers: {
          Authorization: "Bearer " + TOKEN
      },
  },
  userAuthentication: {
      headers: {
          Authorization: "Bearer " + TOKEN
      },
  },
  ////
}

Shorter example:

{
  broadcaster: 'pusher',
  // csrfToken: '******'
  bearerToken: '*******',
  ////
}

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
driesvintscommented, Aug 26, 2022

Hi there,

Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!

Thanks.

0reactions
parallels999commented, Sep 5, 2022

this isn’t the place to ask those questions, please see our issue templates.

For the records: https://github.com/laravel/echo/blob/98bc978dae394fe7dfc33f4a97c74f52ab5a4646/.github/ISSUE_TEMPLATE/2_Feature_request.md?plain=1#L3

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bearer Authentication - Swagger
Bearer authentication (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens.
Read more >
Manage access tokens for API requests - Microsoft Learn
After a user has been authenticated, the application must validate the user's bearer token to ensure that authentication was successful.
Read more >
Bearer Token Configuration for a REST Connector
Bearer Token authentication is necessary for setting up connections to some REST sources. Occasionally REST APIs may refer to Bearer Tokens as Access...
Read more >
Authenticating | Kubernetes
Kubernetes uses client certificates, bearer tokens, or an authenticating proxy to authenticate API requests through authentication plugins.
Read more >
Generating and using app-only Bearer Tokens | Docs
A bearer token allows developers to have a more secure point of entry for using the Twitter APIs, and are one of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found