Skip to main content
Question

Query related to API Key based authentication


Forum|alt.badge.img

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
Did this topic help you find an answer to your question?

3 replies

aravind.sundararajan
Skilled Expert
Forum|alt.badge.img+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!


Forum|alt.badge.img
aravind.sundararajan wrote:

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?


Forum|alt.badge.img

@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