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: third party auth #1582

Merged
merged 4 commits into from
Dec 10, 2024
Merged

feat: third party auth #1582

merged 4 commits into from
Dec 10, 2024

Conversation

BrickheadJohnny
Copy link
Collaborator

No description provided.

@BrickheadJohnny BrickheadJohnny added the feature New feature or request label Dec 10, 2024
@BrickheadJohnny BrickheadJohnny self-assigned this Dec 10, 2024
Copy link

vercel bot commented Dec 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
guild-xyz ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 10, 2024 5:34pm

Copy link
Contributor

@dominik-stumpf dominik-stumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one!

Can you include instructions in the README.md on how to run this locally?

For linux we could do:

### Linux 

1. Append `127.0.0.1  local.openguild.xyz` to `/etc/hosts`
2. Run `bun dev`, create certificate if prompted
3. In the browser navigate to `https://local.openguild.xyz:3000` and dismiss the unsecure site warning.

src/components/ConnectDiscord.tsx Outdated Show resolved Hide resolved
@BrickheadJohnny BrickheadJohnny merged commit 4ed0ffc into rewards Dec 10, 2024
4 checks passed
@BrickheadJohnny BrickheadJohnny deleted the third-party-auth branch December 10, 2024 17:34
BrickheadJohnny added a commit that referenced this pull request Dec 12, 2024
* feat(RewardCard): change layout with container queries

* chore: update schemas

* feat: custom reward cards for permissions and points

* feat: fetch real rewards data and add a simple reward leaderboard

* fix: remove points name for now

* feat: separate join and leave guild components

* feat: useGuild hook

* fix: add missing use client directives

* feat: auth rework (#1581)

* feat: use `https` in development

* feat: use httpOnly cookie for authenticated requests

* feat: third party auth (#1582)

* feat: 3rd party auth flow

* feat(ConnectResultToast): add toast icons

* chore: update readme

* cleanup: remove unnecessary components

* fix: invalidate queries when signing in/out

* feat: join modal

* feat: DiscordRewardCard

* cleanup(RoleCard): remove unnecessary TODO comments

* feat: better identity-related types

* fix(DiscordRewardCard): disabled state

* fix(ConnectResultToast): show toast only after platform connection

* fix(PointsRewardCard): don't use pathname for navigation

* fix(rewardCards): add proper types

* feat(leaderboard): display points' name

* feat(leaderboard): display user addresses & "Your position" section

* feat(DiscordRewardCard): more detailed tooltip message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants