denoland / deno_kv_oauth

High-level OAuth 2.0 powered by Deno KV.
https://jsr.io/@deno/kv-oauth
MIT License
246 stars 25 forks source link

Support for Cheetah #146

Closed adoublef closed 1 year ago

adoublef commented 1 year ago

I came across a new Deno framework and was attempting to use the package for auth. seems I am having issues with a response. The author says that the ctx.req.raw object is a standard Request and that did work for the signIn leg, but for the callback seems to just not do anything. I am looking into this

issue: add support for denoland/deno_kv_oauth · Issue #133 · azurystudio/cheetah (github.com)

adoublef commented 1 year ago

Working on a mini demo as I have been able to overcome some of the API differences. Cheetah is new and looks to have a fair amount of good features included jsx support so may be good to add an example for it?

iuioiua commented 1 year ago

A Cheetah example would be welcome!

adoublef commented 1 year ago

yes, I can do that for sure, where would examples be best to add?

iuioiua commented 1 year ago

If Cheetah can be written in one file, I'd suggest creating a Deno Deploy playground and linking to that, like the Oak example. If it requires its own repo, we can link to that like the other examples. Either way, please keep it as minimal as possible and the front end essentially identical to the main demo.

iuioiua commented 1 year ago

Hey @adoublef, just checking in. Did you manage to create a Cheetah demo?

adoublef commented 1 year ago

Hello, I can confirm I've got it working now. I've essentially used the template for the Oak demo to test with Auth0 as it works well.

A bit unsure what I missed in the initial issue, but can confirm I'm able to get the response back from the callback

iuioiua commented 1 year ago

Nice! Please feel free to open a PR that links to your example in the "In the Wild" section of the README 😄