Is there any documentation about DBAPI and JWT?

55 views
Skip to first unread message

Tito Garrido

unread,
Dec 17, 2019, 7:29:38 PM12/17/19
to web...@googlegroups.com
Hi Guys,

Is there any documentation about DBAPI and JWT working together?

I am trying to create a protected API that will be access by vue.

Thanks!

Tito

--

Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______

Dave S

unread,
Dec 18, 2019, 6:22:15 AM12/18/19
to web2py-users


On Tuesday, December 17, 2019 at 11:29:38 AM UTC-8, Tito Garrido wrote:
Hi Guys,

Is there any documentation about DBAPI and JWT working together?

I am trying to create a protected API that will be access by vue.

Thanks!

Tito

I don't know about DBAPI, but web2py's JWT is documented in gluon/tools.py, including examples.  That documentation is very similar to Niphlod's (er, Stephane's) posts when he contributed the code.

I don't know if that's enough for you to complete the answer to your question.

/dps

Massimo Di Pierro

unread,
Dec 25, 2019, 5:57:11 PM12/25/19
to web2py-users
When you ask about DBAPI, Do you mean the pydal RESTAPI? I assume so.

Can you provide an use case of use of RESTAPI with JWT? Do you need JWT just to authenticate the user or what kind of pemission info do you want to delegate to the JWT token?
Reply all
Reply to author
Forward
0 new messages