Giter VIP home page Giter VIP logo

Comments (5)

cyberboy666 avatar cyberboy666 commented on June 9, 2024

hi @jordanurbs - it is working. thanks for the reminder, i need to document this plugin. (note that the version 0.0.8 from npm is not pushed to this github repo yet - here the latest is 0.0.7 which is not the current state)

to see it in action you can browse to https://videos.scanlines.xyz

in the peertube admin panel it looks like this:

image

in the discourse admin settings it looks like this:

image

maybe there is something else im forgetting right now. please let me know how you get on - i will update the readme with this/the info soon :)

from peertube-plugin-auth-discourse.

jordanurbs avatar jordanurbs commented on June 9, 2024

@langolierz thank you! This is just what I needed. I had the SSO Url and SSO secret fields filled out as as well as the SSO provider secrets and I think that was the issue.

All up and running now :)

from peertube-plugin-auth-discourse.

jordanurbs avatar jordanurbs commented on June 9, 2024

I seem to be experiencing this error when making a new user. When Discourse redirects to PeerTube, it gives this blank error dialogue. The new user has been activated in Discourse, but still does not exist within PeerTube.

This screenshot is after new user follows email confirmation link and clicks the 'click here to activate your email' button.

Screen Shot 2020-12-03 at 12 59 41 PM

In the PeerTube logs, this is the error:


warn[12/3/2020, 1:54:44 PM] Login error.

{
  "err": {
    "statusCode": 400,
    "status": 400,
    "code": 400,
    "message": "Cannot create such user: an actor with that name already exists.",
    "name": "access_denied",
    "stack": "access_denied: Cannot create such user: an actor with that name already exists.\n    at new AccessDeniedError (/app/code/server/node_modules/oauth2-server/lib/errors/access-denied-error.js:25:14)\n    at Object.<anonymous> (/app/code/server/dist/server/lib/oauth-model.js:97:23)\n    at Generator.next (<anonymous>)\n    at fulfilled (/app/code/server/node_modules/tslib/tslib.js:111:62)"
  }
}

from peertube-plugin-auth-discourse.

jordanurbs avatar jordanurbs commented on June 9, 2024

Update, I think I found the problem... apparently when you delete a user in Discourse, it doesn't delete the 'actor' in PeerTube. I am not sure if that refers to email, name, or username exactly. But I tried a new user with a new email domain, name, etc, and it worked fine.

from peertube-plugin-auth-discourse.

cyberboy666 avatar cyberboy666 commented on June 9, 2024

from peertube-plugin-auth-discourse.

Related Issues (2)

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.