Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set your custom backend URL from the app. #1286

Open
josancamon19 opened this issue Nov 11, 2024 · 4 comments
Open

Set your custom backend URL from the app. #1286

josancamon19 opened this issue Nov 11, 2024 · 4 comments
Assignees

Comments

@josancamon19
Copy link
Contributor

No description provided.

@josancamon19 josancamon19 self-assigned this Nov 11, 2024
@josancamon19 josancamon19 converted this from a draft issue Nov 11, 2024
@josancamon19
Copy link
Contributor Author

  1. Requires new authentication method, so will set-up sign up/sign in pages, if the user sets a custom backend URL
  2. modify the backend auth logic too, to handle this email/pwd in header
  3. Prob still use firebase auth as source of truth.

Fuck, prob wouldn't still work, very complex.
Firebase doesn't allow to download the credentials files on the go, does it?

@beastoin
Copy link
Collaborator

haha yes, you got it bro.

@josancamon19
Copy link
Contributor Author

  • Authentication must be email/password

  • Sign up / sign in backend endpoints

  • Auth middleware on back should be able to handle email/pwd prob using jwt but /token and /refresh endpoints, manually generating the jwt

  • App must have sign in / sign up forms

  • on default sign in page, option to custom backend URL, once is set, local pref must be stored, and the alternative sign in sign up page must be shown instead of google or apple

  • on auth, http requests must be done using this email/pwd jwt token generated.

  • Clear instructions.

@josancamon19
Copy link
Contributor Author

On the back will still use signInWithPassword shit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

No branches or pull requests

2 participants