#tauri-plugin #oauth #localhost #login #server #github #flows

tauri-plugin-oauth

A Tauri plugin for spawning a localhost server. Needed for some oauth flows (Login with X).

1 unstable release

0.0.0-alpha.0 Apr 7, 2023

#929 in Authentication

Download history 13/week @ 2023-12-11 18/week @ 2024-01-29 18/week @ 2024-02-19 12/week @ 2024-02-26 7/week @ 2024-03-04 71/week @ 2024-03-18 23/week @ 2024-03-25

101 downloads per month

MIT/Apache

11KB
168 lines

Tauri Plugin oauth

WIP

Minimalistic rust library and Tauri plugin(soon) to spawn a temporary localhost server which you redirect to from browser based oauth flows ("Login with X"). Needed because many sites such as Google and GitHub don't allow custom URI schemes ("deep link") as redirect URLs.

See https://github.com/FabianLars/tauri-plugin-deep-link for an alternative based on deep linking. This one will automatically start your app if there is no open instance.

Dependencies

~21–66MB
~1M SLoC