kronusaturn / lw2-viewer

An alternative frontend for LessWrong 2.0
https://www.greaterwrong.com/
MIT License
61 stars 6 forks source link

New authentication systems, will probably require some changes on your side #34

Closed Discordius closed 2 years ago

Discordius commented 3 years ago

We just pushed a major refactor that completely ripped out Meteor from the codebase. This also means we are now running a different auth system (based on passport.js).

Auth is now super simple. Just make a graphql request of the following type:

mutation {
  login(username: "sadsa", password:"assda") {
    token
  }
}

And you will get back a token that you can use to authenticate future requests. Happy to help with debugging any problems that might pop up.