You are viewing limited content. For full access, please sign in.

Question

Question

What grant_type should I use for Keyed Integrator Licenses when using on-prem.

asked on June 28, 2023

for /v1/Repositories//%(repoId)/Token

Should it be authorisation_code?

 

0 0

Answer

APPROVED ANSWER SELECTED ANSWER
replied on June 28, 2023 Show version history

After updating your Keyed Integrator License in your appsettings.json file, you'll still use a password grant type associated with an account, but you'll have more concurrent sessions available.

grant_type=password&username={username}&password={password}
2 0
replied on June 29, 2023

Thanks Andrew. And if self-hosted, should the account be a Repository account, LFDS, or Windows AD? Excuse the dumb questions but I don't have a KIL to test with.

With the .Net Framework API, the documentation simply says to set the Session.ApplicationID to the UUID/GUID. In which case, a password isn't required.

0 0
replied on June 30, 2023

Hi Ben, 

By setting Keyed Integrator License in your appsettings.json, self-host Repository API server could add it to Session.ApplicationID for you. It also needd username and password to generate an access token to call other Repository APIs. Repository account, LFDS, and Windows AD all would work. 

1 0
replied on August 8, 2023

Thanks both for your replies and confirmation.

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.