Fork me on GitHub
#yada
<
2020-02-24
>
Akshay C. Gollapalli04:02:38

How does bearer auth work? I tried creating a verify function for a bearer auth schema but wasn't quite able to get there. I keep getting a "No authorization provided" message.

Akshay C. Gollapalli04:02:31

Or i guess, I should ask, does bearer auth work? i noticed there's a couple files in the repo that say "implement new authentication logic". Does that mean that the current set up of :access-control {:scheme <scheme> :verify <verify-fn>} is deprecated?

Akshay C. Gollapalli06:02:35

Actually I think I figured it out. I had to upgrade 1.3 and then use the docs on the github instead of the juxt website, using :authorization and :authentication keys in the resource instead of the :access-control key.