Question

Basic authentication header is missing or malformed

  • 29 November 2019
  • 3 replies
  • 2316 views

Issue 1: I am trying to generate token once the user is redirected from the Login page, my platform type is Server/Web.

Here my response from the postman.


Issue 2: Also, the same thing had occurred in platform Type: Server-only (No UI)

I have a PHP SDK and using it in the Laravel application.

Here is my code:

This is what my Laravel app said when I executed the above code:

Can anyone help me out with this issue.


3 replies

Hi,

Have you verified ring central oauth documentation. We need to use that to generate oauth token. Here you need to pass your application client id.

https://developers.ringcentral.com/api-reference/authentication

Hi,

As you can see in my above code, I have passed the required info to generate a token.

Also any idea about Server-only (No UI), it has the same issue.

Userlevel 1

1. Can you first double check if you passed the client id and client secret for each app correctly. Meaning the one for Server/Web and the one for Server-only(No UI).

2. Can you also print out the full response of your issue #2 (not just the message)

Reply