Giter VIP home page Giter VIP logo

id's Introduction

🛠 Status: Maintenance Mode | Stable

This project is currently in maintenance mode - users should feel free to continue to use this app and expect bug fixes, but not expect many additional features.

Resonate ID

Resonate's ID server is a Go OAuth2 Server based on RichardKnop/go-oauth2-server.

See also

Setup

There are three setup tasks when working with the ID server

  1. Setup the config store
  2. Setup the data stores
  3. Compile the server

Config Store

The ID server uses etcd as a config store.

Install etcd (if needed, and platform specific) and run it

brew install etcd
etcd

Load the sample config and verify it

etcdctl put /config/go_oauth2_server.json "$(cat ./config.sample.json)"
etcdctl get /config/go_oauth2_server.json

Data Store

At some point, we will be merging both the ID server and User API repos. Until then, the ID server needs a direct database connection to the User API.

Using resonatecoop/user-api-client, the ID server can also make RESTful requests to the User API.

User API

(How to setup the User API locally, check out user-api github repository)

Compile

To compile the server run

go install .

Run

Run the server

go run go-oauth2-server.go runserver

Deploy

(How to deploy to staging and production using docker)

Develop

Add a git hook for proper formatting

./add_gofmt_hook.sh

id's People

Contributors

peterklingelhofer avatar auggod avatar simonv3 avatar

Stargazers

Paul Lindner avatar  avatar  avatar

Watchers

Peter Harris avatar

Forkers

dominictwlee

id's Issues

`/join` immediately redirects to `/login`

Accessing https://id.resonate.coop/join currently 301-redirects to https://id.resonate.coop/login for me, so I'm unable to join. Are you not accepting new users currently or is this a bug?

Forbidden - CSRF token invalid

Hi, we’re getting this error logging in as an artist:

Forbidden - CSRF token invalid

We have a new upload ready to go, we thought initially it might be wordpress issues. We tried as well in incognito mode, still the same response, so unlikely it’s cookie/browser based.

Thoughts? Help? Words of Wisdom? Coffee coupons?

Thank you!

400 error on stripe checkout

{
  "error": {
    "code": "parameter_invalid_empty",
    "doc_url": "https://stripe.com/docs/error-codes/parameter-invalid-empty",
    "message": "You passed an empty string for 'line_items'. We assume empty values are an attempt to unset a parameter; however 'line_items' cannot be unset. You should remove 'line_items' from your request or supply a non-empty value.",
    "param": "line_items",
    "request_log_url": "https://dashboard.stripe.com/logs/req_2JgEQ6CGJ2Qxhh?t=1667023632",
    "type": "invalid_request_error"
  }
}

This is happening with quite a few requests. We've only had one report, but I'm seeing it every couple of days in the logs.

Having issues changing email

attempt-to-change-email

Steps to reproduce

  1. Click on "Change your email" under the email input box on your profile
  2. Enter a new email address.
  3. Click on "Update my email".
  4. "You have been logged out" appears in bottom left corner.
  5. No log out happens, though the page does get refreshed.
  6. Email isn't changed
  7. Manually log out, and new email doesn't work to log in, old email still works to log in

Send email confirmation when purchasing shares

From polis Email confirmation for share purchasing would be quite helpful, especially as a new member. I paid for shares, dunno if I'm member yet.

https://community.resonate.coop/t/resonate-polis-1-a-poll-and-conversation-leading-into-the-annual-general-meeting/3357

Purchasing shares does not grant member status. This should be more clear. Related: #6

To send this email, we can add additional code here: https://github.com/resonatecoop/id/blob/develop/webhook/stripe_payment.go#L183

A template will need to be added to mailgun.

login issues

I was on the account page, saw the text saying "your changes will take effect on next login" so i logged out, then logged in, but got directed back to the stream page and... it shows I'm still not logged in.

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.