Code Monkey home page Code Monkey logo

clubhouse-go's People

Contributors

ifvictr avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ehsanghaffar

clubhouse-go's Issues

401 error after authentication with CompletePhoneNumberAuthParams

Clubhouse rules have changed and you will have new problems for logging in.

Clubhouse needs a parameter called rc_token to complete authentication, which checks the server side to make sure that you are using its own applications.I don't have time to solving this problem but i know what we should to do.
Just we need to reverse engineering the Safetynet lib for ios and bypassing the Safetynet for getting the true rc_token.
I did a lot of research on this and found that by implementing a request according to the Safetynet request to Google's servers, you can easily get rc_token correctly and send it to the Club House server for verification.

API calls with only one or two parameters should not require a struct parameter

Example:

client := clubhouse.New()

// Current
client.StartPhoneNumberAuth(&clubhouse.StartPhoneNumberAuthParams{PhoneNumber: "+1…"})

// Proposed
client.StartPhoneNumberAuth("+1…")

If any additional parameters are added in the future, let the user pass a parameter struct like so:

client.StartPhoneNumberAuth("+1…", &clubhouse.StartPhoneNumberAuthParams{…})

I'm not sure how the best way to make this optional would be besides passing nil, which seems ugly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.