How to get service account identity?
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

How to get service account identity?

by
chingis
Created on 2023-10-20 07:35:22 (edited on 2024-09-04 14:24:30) in Public Cloud

According to the OVH docs you can create a service account via oauth2 and then request `/me/api/oauth2/client/{clientId}` to get the identity info. I've created a service account with `authorization_code` flow but when I make the API call I get identity: null in the response.

Does that mean identities only created for service accounts created with `client_credentials` flow? If so, how can I create an identity for my service account?