Skip to content

Is there any way to validate the Pocketbase autentication using an external backend? #4986

Closed Answered by ganigeorgiev
Verzach3 asked this question in Q&A
Discussion options

You must be logged in to vote

You can find the available auth Web APIs in https://pocketbase.io/docs/api-records/#auth-record-actions.

Sending Auth refresh requests will validate the Authorization: TOKEN header and on success will return a new token with updated exp claim and the latest user data. On invalid or expired token returns an error response.

You can also use the View record API (getOne) for the specific user but this depends on your users collection View API rule.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Verzach3
Comment options

Answer selected by Verzach3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants