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

Fix Auth #48

Open
hayat-tamboli opened this issue Oct 1, 2022 · 3 comments
Open

Fix Auth #48

hayat-tamboli opened this issue Oct 1, 2022 · 3 comments
Assignees
Labels
bug Something isn't working hacktoberfest

Comments

@hayat-tamboli
Copy link
Member

hayat-tamboli commented Oct 1, 2022

Describe the bug
Auth does not work

To Reproduce
Steps to reproduce the behavior:

  1. open the app
  2. try to create an account using email & password
    Or
  3. Try to login with email and password
    DioError [DioErrorType.response]: Http status error [503]
  4. See error

Expected behavior
For account creation

It should create an account for you in the database and create a token bearer to be used later and stored using get storage

--

For login

It should request the server for authorization service and get the bearer token as a response and navigate to home page in the logged in state

--

this might help

https://documenter.getpostman.com/view/3441240/Uyr5neWC#intro
https://github.com/InSync-HQ/InSync_Backend

@hayat-tamboli hayat-tamboli added hacktoberfest bug Something isn't working labels Oct 1, 2022
@trishitchar
Copy link

Hey, Can I work on this issue?

@Manas1820
Copy link
Contributor

Manas1820 commented Oct 1, 2022

How about @trishitchar handle the Login Routes? We are changing our state management to GetX Please go through the example and add the login stuff I will handle the registration part. You can get a basic example here.

@hayat-tamboli hayat-tamboli changed the title Fix Auth - Account creation Fix Auth Oct 1, 2022
@hayat-tamboli
Copy link
Member Author

hayat-tamboli commented Oct 1, 2022

@trishitchar you can handle the login auth functions and take help from @Manas1820

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest
Projects
None yet
Development

No branches or pull requests

3 participants