Skip to content

[WIP] Auth plugins#155

Merged
gschier merged 17 commits intomasterfrom
auth-plugins
Jan 17, 2025
Merged

[WIP] Auth plugins#155
gschier merged 17 commits intomasterfrom
auth-plugins

Conversation

@gschier
Copy link
Copy Markdown
Member

@gschier gschier commented Jan 15, 2025

This PR moves all authentication handlers to plugins (currently in Rust), and updates the plugin APIs accordingly.

  • Use plugin name as HttpRequest.authenticationType
  • Add plugin runtime hooks to get auth and call auth
  • Use the same form layout (json -> jsx) logic to render auth config
  • Apply to HTTP send
  • Apply to GRPC send

Tangential

  • Fallback to gRPC v1 reflection (currently only v1alpha)

# Conflicts:
#	src-tauri/src/template_callback.rs
#	src-tauri/yaak-plugins/src/events.rs
#	src-tauri/yaak_plugin_runtime/src/handle.rs
@gschier gschier changed the title Auth plugins [WIP] Auth plugins Jan 15, 2025
@gschier gschier marked this pull request as ready for review January 16, 2025 23:36
@gschier gschier merged commit bd32216 into master Jan 17, 2025
@gschier gschier deleted the auth-plugins branch January 17, 2025 13:53
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.

1 participant