CF Access - Service Token not bypassing login screen for API call

I think I might be missing something here.
So I have issued a Service Token, and created a rule for it in my Access app:

Now, in calling the application’s API, I send the CF-Access-Client-Id and CF-Access-Client-Secret

The request still gets redirected to the application’s sign-in page :slightly_frowning_face:

I’ve also tried setting Access-Control-Allow-Origin: *.
Not sure where to go from here, any help/advice greatly appreciated.

Also, happy Friday =)

1 Like

Update: When I had double-clicked to copy CF-Access-Client-Secret, it only selected up the dot .

So it was xxxxxxxxxxxxxxxx.access, and I didn’t notice it only copied the part before the dot. Adding .access made it work :facepalm:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.