iOS to Better Auth

How would I go about having a user log in through web session on an ios app? Previously using Lucia I had the user login and the website would give a valid token for a login to the iOS app and would call back a specific url, the app would then verify that token through the API and retrieve the user data (profile picture, name, etc.) Every time the user used the app they would have their token verified again.

I'm not sure if there is a way to return the session token / id, and then have the app call the API and get the session data from the website?
Was this page helpful?