logto-io / js

🤓 Logto JS SDKs.
https://docs.logto.io/quick-starts/
MIT License
61 stars 40 forks source link

feat(client): support `postRedirectUri` #653

Closed gao-sun closed 6 months ago

gao-sun commented 6 months ago

Summary

add postRedirectUri option in the client's .signIn() method to provide a convenient way to specify the URI to redirect after a successful sign-in callback.

Testing

tested in SvelteKit sample, redirect to the URI as expected. other frameworks are pending to test, it shouldn't be a blocker though

Checklist