Ios abb subscription and login auth
How would I make a user authorized to use an ios app if they have a certain subscription?
Also how would I do this with login.
9 Replies
Hi @Sven. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Based on the information provided in the knowledge sources, Wasp currently does not have first-class support for mobile clients, including iOS apps. This means that while it's possible to have a mobile app, it will require additional work and may not be as straightforward as it is for web clients.
For user authentication, Wasp provides a standard login and signup flow that allows users to sign up and log in with their username and password. The signup flow validates the username and password and then creates a new user entity in the database. You can customize this flow by creating your own UI and using the
signup
and login
actions provided by Wasp. Here is an example of how you can use these actions:
(Source: Wasp Docs (https://wasp-lang.dev/docs/auth/username-and-pass#signup))
As for authorizing a user based on their subscription status, it seems that there was a discussion in the Wasp community about how to handle subscription statuses. However, the final decision or implementation is not clear from the provided sources. You might need to implement your own logic to check the user's subscription status and grant access accordingly.
Please note that this information is based on the provided knowledge sources and may not cover all aspects of your question. For more detailed information, you might want to check the official Wasp documentation or reach out to the Wasp community.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @Sven, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?Wasp devs any suggestions?
https://github.com/wasp-lang/wasp/issues/1973
https://github.com/wasp-lang/wasp/issues/1088
Auth will happen in q3, maybe we can start either with expo or Infinite Red then.
Yep, we are still building the support for using Wasp auth in external apps 🙂 Thank you for linking these issues @Adam
Happy to answer a few of you all's messages wasp has saved me so much and has really propelled my desktop app - thank you!
Hopefully can make it a mobile app soon too
Wohooo @Adam, you just became a Waspeteer level 2!
Very happy to hear that, Adam! 🥰
Would you guys recommend deploying to also see how it works when operating?
I would, yes