storyblok / custom-app-examples

https://custom-app-examples.vercel.app
5 stars 1 forks source link

fix: redirect properly after auth flow #2

Closed eunjae-lee closed 1 year ago

eunjae-lee commented 1 year ago

What

This PR redirects properly after auth flow. Right after successful authentication, due to the current limitations, users end up getting 401 error. With this fix, we can redirect back to where they were.

The code is brought from the Semrush app.

eunjae-lee commented 1 year ago

cc @BibiSebi