Redirect with CORS #15
-
In reference to #7, I ended up writing native SK code to try to better understand what is going on under the covers with SK. With the external API that I am calling, I end up getting the following error message:
That seems to be a message from SK. Are you able to get SKAuth to work with CORS? I saw you are converting to a class library. Let me know when you feel SKAuth is at a good point and I can give it a try. 😄 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey there! Thanks for opening up this discussion page! I actually did get CORS to work, perfectly fine, since most of the requests are being made server-side instead of client-side (are you by any chance trying to fetch profile information or refresh tokens on the client?) As for SvelteKitAuth's ready-status; I'd consider it ready! I just posted on Reddit yesterday again about it's current state, and while the client library isn't yet ironed out, it's now safe to use and features a built-in OAuth2 provider that can be customized with a simple config. |
Beta Was this translation helpful? Give feedback.
Hey there! Thanks for opening up this discussion page! I actually did get CORS to work, perfectly fine, since most of the requests are being made server-side instead of client-side (are you by any chance trying to fetch profile information or refresh tokens on the client?)
As for SvelteKitAuth's ready-status; I'd consider it ready! I just posted on Reddit yesterday again about it's current state, and while the client library isn't yet ironed out, it's now safe to use and features a built-in OAuth2 provider that can be customized with a simple config.