Dan6erbond / sk-auth

Authentication library for use with SvelteKit featuring built-in OAuth providers and zero restriction customization!
MIT License
578 stars 70 forks source link

[FIX] Fix Client Functions and Add Base Path Option #63

Closed Dan6erbond closed 2 years ago

Dan6erbond commented 2 years ago

Overview

  1. Fix signin route in client/signIn.
  2. Create ClientRequestConfig type with basePath optional parameter.
  3. Create mergePath() helper to merge basePath from config/default with API route.
  4. Add config? argument to client/signOut.