Fork me on GitHub
#yada
<
2019-08-09
>
Mno08:08:04

If anyone has a google oauth example or tutorial they know works with yada's/oauth library they could share I'd greatly appreciate it.

Mno13:08:12

well I tried guessing my way through this but I ended up getting stuck on: "Context does not contain a :uri-info entry"

Mno13:08:15

and as far as I can tell no context has that key..

nha15:08:06

Are you using this?https://github.com/juxt/yada/blob/master/ext/oauth2/src/yada/oauth.clj#L148 I think there was an example in edge but it changed significantly since last I looked and I can’t find it now

Mno15:08:37

yeah I was using that function

Mno15:08:05

I have the edge examples but nothing reffering to this unfortunately.

Mno15:08:16

(even trying to use yada.yada/redirect complains about the same thing.)

Mno15:08:34

I must be missing something.

dominicm15:08:23

Are you using bidi?

Mno16:08:23

I'm unsure.

Mno16:08:51

as in I do routing and stuff and I think it uses bidi internally, but I do not use it directly.

Mno16:08:21

so far It's basically just a bunch of yada.yada/resource resources and a routes vector that I pass along to the yada.yada/listener

dominicm16:08:45

I think only bidi vhosts supports these features

Mno16:08:36

Oh ok I'll see how bidi fits in here. It's a great lead, thanks!