nuxt-alt / auth

An alternative module to @nuxtjs/auth
https://nuxt-alt-auth.vercel.app/
MIT License
96 stars 20 forks source link

fix: various bugs and issues #24

Closed hendrikheil closed 1 year ago

hendrikheil commented 1 year ago

This PR fixes various issues/bugs currently present.

  1. It fixes a bug with the new query redirection strategy where you would be redirected from /oauth/callback to /oauth/undefined instead of your home redirect.
  2. It adds detection for composite response_types like "code id_token" in the OIDC scheme
  3. It switches from parseQuery from ufo to a custom method. parseQuery can not actually parse query strings like a=b&c=d. This caused the fragment/hash response mode to fail every time.

@Teranode