Skip to content

Bearer Token Authentication Configuration #352

@parallels999

Description

@parallels999
Contributor

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: '*******',
  ////
}

Activity

driesvints

driesvints commented on Aug 26, 2022

@driesvints
Member

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.

parallels999

parallels999 commented on Aug 26, 2022

@parallels999
ContributorAuthor

@driesvints

try one of the following channels

Already did that, it is not a bug, or a problem,
looks like you even didn't read only close

driesvints

driesvints commented on Aug 26, 2022

@driesvints
Member

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

parallels999

parallels999 commented on Aug 26, 2022

@parallels999
ContributorAuthor

@driesvints if i make a PR for this, could you review it? please

parallels999

parallels999 commented on Sep 5, 2022

@parallels999
ContributorAuthor

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

For the records:

about: 'For ideas or feature requests, please make a pull request, or open an issue'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @driesvints@parallels999

      Issue actions

        Bearer Token Authentication Configuration · Issue #352 · laravel/echo