Question

Query related to API Key based authentication

  • 13 March 2023
  • 3 replies
  • 248 views

Badge

Hello Experts,

I have couple of queries related to decommissioning of password based authentication feature. link

  1. for one of our application as of now we are accessing the freshservice api’s using basic authentication, where we pass the api key of the agent in user name and X in the password and generate base 64. After May 2023 would this basic authentication be still possible?
  2. in general for api key based authentication, we pass the apikey name & value in header, but what is the keyname to be passed for fresh api’s? Is there any key header?

    /Deva

3 replies

Userlevel 4
Badge +12

Hi @dp_devaprakash The recommendation would be to base-encode the API key and pass it as an “Authorization” header.

For example,

Authorization: S3ZBc0NwdVNQVGhoazJWOlg=

Cheers!

Badge

Hi @dp_devaprakash The recommendation would be to base-encode the API key and pass it as an “Authorization” header.

For example,

Authorization: S3ZBc0NwdVNQVGhoazJWOlg=

Cheers!

So basic authentication will still work by basic the apikey right?

Badge

@aravind.sundararajan - So basic authentication will still work right even after May 2023 by passing the apikey as base 64 code to the authorization header?

Reply