Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First draft of Personal Applications #1316

Conversation

SherinDaher-Runai
Copy link
Collaborator

No description provided.

Copy link
Contributor

Preview environment URL: https://d161wck8lc3ih2.cloudfront.net/PR-1316/

docs/Researcher/best-practices/personal-applications.md Outdated Show resolved Hide resolved
docs/admin/authentication/applications.md Outdated Show resolved Hide resolved
docs/Researcher/best-practices/personal-applications.md Outdated Show resolved Hide resolved
Copy link
Contributor

Preview environment URL: https://d161wck8lc3ih2.cloudfront.net/PR-1316/

Copy link
Contributor

Preview environment URL: https://d161wck8lc3ih2.cloudfront.net/PR-1316/

Copy link
Contributor

Preview environment URL: https://d161wck8lc3ih2.cloudfront.net/PR-1316/

@@ -43,8 +30,8 @@ Replace `<COMPANY-URL>` below with:
--header 'Content-Type: application/json' \
--data-raw '{
"grantType":"app_token",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"grantType":"app_token",
"grantType":"client_credentials",

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

      'https://<runai_url>/api/v1/token' \

@@ -59,8 +46,8 @@ Replace `<COMPANY-URL>` below with:
}
payload = json.dumps({
"grantType":"app_token",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"grantType":"app_token",
"grantType":"client_credentials",

docs/developer/rest-auth.md Show resolved Hide resolved
Copy link
Contributor

Preview environment URL: https://d161wck8lc3ih2.cloudfront.net/PR-1316/

Copy link
Contributor

Preview environment URL: https://d161wck8lc3ih2.cloudfront.net/PR-1316/


This article explains the procedure to create your own user applications.

Applications are used for API integrations with Run:ai. An application contains a client ID and a client secret. With the client credentials, you can obtain a token as detailed in [API authentication](../developer/rest-auth.md) and use it within subsequent API calls.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want to add information about permissions of the application (coupled to the user's) which is different from the existing Application

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

docs/developer/user-applications.md Outdated Show resolved Hide resolved
Copy link
Contributor

Preview environment URL: https://d161wck8lc3ih2.cloudfront.net/PR-1316/

@SherinDaher-Runai SherinDaher-Runai merged commit 5019560 into master Dec 31, 2024
2 checks passed
@SherinDaher-Runai SherinDaher-Runai deleted the RUN-24221-TW-Personal-applications-P1-Applications-API-resource-management-Access branch December 31, 2024 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants