lens-protocol/lens-sdk

Get accessToken of current user

moesalih opened this issue · 3 comments

Is your feature request related to a problem? Please describe.
Is there a way to get the Lens API accessToken of the current authenticated user? Can this be added?

Describe the solution you'd like
I would like a function or hook to return the accessToken.

We contemplated this ourself for some of our internal use of the SDK.

We can surely add this.

@moesalih can you please give it a try in latest next tag? Namely @lens-protocol/react-web@1.3.0-next.5

There is a new useAccessToken experimental hook available.