peakshift / btc-payer

Proof of concept of a social payments application using BTC Pay Server as a backend (shared channels).
https://peakshift.github.io/btc-payer
11 stars 4 forks source link

feat: add auth flow #8

Closed jonathanpalma closed 2 years ago

jonathanpalma commented 2 years ago

feat: add auth flow

This PR includes Basic Auth flow. Some of these screen replaced/removed once we implement OAuth (or similar solution)

NOTE: it does not include any UI design

Navigation

.
+-- AuthNavigator (StackNavigator)
|    +-- ServerInstanceScreen
|    +-- SignInScreen
+-- AppNavigator (currently StackNavigator but should be replace by BottomTabsNavigator)
|   +-- HomeScreen
|   +-- TBD...
.

Screens

ServerInstanceScreen

Displays a form that allows the user to set the BTC Pay Server instance

image

SignInScreen

Displays a form that allows the user to sign in

NOTE: This screen might be replaced once we get to implement OAuth

image

HomeScreen

NOTE: This screen is just a placeholder for now

image

jonathanpalma commented 2 years ago

closes #4

jonathanpalma commented 2 years ago

@all-contributors please add @jonathanpalma for code and doc

allcontributors[bot] commented 2 years ago

@jonathanpalma

I've put up a pull request to add @jonathanpalma! :tada: