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

feat: login logic #10

Merged
merged 20 commits into from
Sep 22, 2023
Merged

feat: login logic #10

merged 20 commits into from
Sep 22, 2023

Conversation

ale-mazz
Copy link
Contributor

@ale-mazz ale-mazz commented Sep 22, 2023

Description

This PR contains everything needed to implement the login procedure with web3auth and axios.
There is also a events screen to test apolloGQL

  • Implemented Web3AuthNoModal with its own logic, the client will logout as soon as the login is completed.
  • Implemented apolloGQL with SSR
  • Implemented axios with auth
  • Implemented a cookies-protected storage with iron-session and custom APIs to handle everything
  • Implemented a middleware to handle protected routes

Closes: BON-563

  • Added a modal to prevent login without a Desmos Profile

Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • included the correct type prefix
    in the PR title
  • targeted the correct branch
  • provided a link to the relevant issue or specification
  • reviewed "Files changed" and left comments if necessary
  • confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

I have...

  • confirmed the
    correct type prefix in the PR title
  • confirmed all author checklist items have been addressed

@RiccardoM RiccardoM merged commit f85a019 into main Sep 22, 2023
1 check passed
@RiccardoM RiccardoM deleted the alessandro/login-logic branch September 22, 2023 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants