Skip to content

Provide a way to obtain an API key associated to any account that requires the user to explicitly sign in via whatever method they use. #2468

Closed
@williamstein

Description

@williamstein

Motivation: Using CoCalc as a backend for an iPad application.

We create a page that looked exactly like our current cocalc sign in page, but after the sign in completes, the browser just displays the api_key for that user rather than loading the normal cocalc application. The client ipad app would then have the api key. In particular, imagine that visiting

https://cocalc.com/app?get_api_key=true

would ALWAYS show the sign in screen, require the user to manually do something, and once sign is completed successfully, simply show the api_key. Your app could send the user to the above URL whenever their api key is rejected (e.g., they reset/change/invalidate it) or isn't known. Then we could support generating api keys for users that don't have a username or password.

Requesting an api key for a user with no email/password would also show a link to the above URL.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions