Skip to content

Angus/scripting token support#110

Merged
veggiesaurus merged 15 commits intodevfrom
angus/scripting_token_support
Feb 22, 2022
Merged

Angus/scripting token support#110
veggiesaurus merged 15 commits intodevfrom
angus/scripting_token_support

Conversation

@veggiesaurus
Copy link
Copy Markdown
Collaborator

@veggiesaurus veggiesaurus commented Jan 17, 2022

Basic scripting support:

  • User can generate a scripting API token and copy it to clipboard using the "Copy scripting token"
  • Scripting tokens can be generated via the /api/auth/refresh endpoint (with {"scripting": true} in the JSON body)
  • Scripting requests to /api/scripting/* are proxied to the backend after verifying that they have a valid auth token header (i.e. Authoirzation: Bearer <token>) and that the token has the validated claim scripting: true.
  • A backend instance is started if no existing process is found (just like when proxying websocket upgrade requests from the frnotend).

@veggiesaurus
Copy link
Copy Markdown
Collaborator Author

moving back to draft until @confluence has finished her gRPC removal branch.

@veggiesaurus veggiesaurus marked this pull request as draft January 18, 2022 09:04
@veggiesaurus
Copy link
Copy Markdown
Collaborator Author

@confluence do you think this is ready for a PR and merge yet?

@confluence
Copy link
Copy Markdown
Collaborator

I'm still testing the controller integration, but it should be ready very soon.

@confluence
Copy link
Copy Markdown
Collaborator

This PR should be merged at the same time as the companion PRs in the wrapper, backend, frontend, protocol buffers and website.

@veggiesaurus veggiesaurus merged commit 1bccecc into dev Feb 22, 2022
@veggiesaurus veggiesaurus deleted the angus/scripting_token_support branch February 22, 2022 08:23
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