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

Add FanTV as Zklogin OIDC provider onboarding #19334

Merged
merged 8 commits into from
Sep 13, 2024
Merged

Conversation

devan-ko
Copy link
Contributor

@devan-ko devan-ko commented Sep 12, 2024

Description

Describe the changes or additions included in this PR.

Test plan

pulling jwk ok on localnet

cargo build --bin sui 
RUST_LOG=info target/debug/sui start --force-regenesis --with-faucet

logs:

2024-09-13T19:13:15.967816Z  INFO node{name=k#99f25ef6..}: sui_core::authority::authority_per_epoch_store: received jwk vote from k#8dcff6d1.. for jwk (JwkId { iss: "https://accounts.fantv.world", kid: "O5ryxF-zMCLmS6hQhcTC3pAAhQ4YYPEHoiQt1qx_86o" }, JWK { kty: "RSA", e: "AQAB", n: "mBi1td_GT0MubU5Lfeg4P4XsMUzpzcxuI9Yb1xDOpWFekEZF0TwTLJ6v4a28hiAU_ateCxlFQSkHrhbpdFkEWuDQnPUAnlAr5I7-W8ccKkWuuPwZz0wHcgFSxH5fstFaGuOACewBSmP3BlScQqRYhrj1QB_7j1_G7g17Q-QIBGrvp8gtb2K-saumUlF67ySZrSM_FV1_XalI0Z31oXKMECUfnbje-fLiIvSuXKK-sfO-MSrEEkB8dbzP6ez-xYGYIFisyiqeGlCeO4-ZDkvDrBnDGLxpgLcsWbgcUUvnmyrSQjTxqub17GkuPPwXpof0b8OHhPAC12TfUTRRP1CUfQ", alg: "RS256" })

Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • REST API:

Copy link

vercel bot commented Sep 12, 2024

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

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2024 7:19pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Sep 13, 2024 7:19pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Sep 13, 2024 7:19pm
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview Sep 13, 2024 7:19pm

&eph_pk_bytes,
max_epoch,
"r24bskxyafwwua68et2wmuqeyoa.apps.fantv.world",
"https://fantv-apis.fantiger.com/v1/oauth2/redirect",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

feel free to skip the changes in this file (as whats marked in fastcrypto this is throwing error anyway: https://github.com/MystenLabs/fastcrypto/pull/830/files#diff-81897258a805c29ef8b0319ad0aced2aa3ecef7f654c2489535abb8640ec290dR90)

this was useful for testing in cli, but no need now since you can build frontend for this.

@joyqvq joyqvq merged commit c413391 into main Sep 13, 2024
48 of 50 checks passed
@joyqvq joyqvq deleted the fantv-oidc-onboarding branch September 13, 2024 19:43
suiwombat pushed a commit that referenced this pull request Sep 16, 2024
## Description 

Describe the changes or additions included in this PR.

## Test plan 

How did you test the new or updated feature?

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
- [ ] REST API:

---------

Co-authored-by: Joy Wang <108701016+joyqvq@users.noreply.github.com>
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