-
Notifications
You must be signed in to change notification settings - Fork 64
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
First draft of Personal Applications #1316
Conversation
Preview environment URL: https://d161wck8lc3ih2.cloudfront.net/PR-1316/ |
Preview environment URL: https://d161wck8lc3ih2.cloudfront.net/PR-1316/ |
Preview environment URL: https://d161wck8lc3ih2.cloudfront.net/PR-1316/ |
Preview environment URL: https://d161wck8lc3ih2.cloudfront.net/PR-1316/ |
docs/developer/rest-auth.md
Outdated
@@ -43,8 +30,8 @@ Replace `<COMPANY-URL>` below with: | |||
--header 'Content-Type: application/json' \ | |||
--data-raw '{ | |||
"grantType":"app_token", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"grantType":"app_token", | |
"grantType":"client_credentials", |
There was a problem hiding this comment.
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' \
docs/developer/rest-auth.md
Outdated
@@ -59,8 +46,8 @@ Replace `<COMPANY-URL>` below with: | |||
} | |||
payload = json.dumps({ | |||
"grantType":"app_token", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"grantType":"app_token", | |
"grantType":"client_credentials", |
Preview environment URL: https://d161wck8lc3ih2.cloudfront.net/PR-1316/ |
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. |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
Preview environment URL: https://d161wck8lc3ih2.cloudfront.net/PR-1316/ |
No description provided.