Giter Site home page Giter Site logo

Comments (6)

OniriCorpe avatar OniriCorpe commented on June 8, 2024 1

@PrivacyDragon have you been able to test OIDC with the implementation that has been made?
Everything okay? I had tested it myself, but I ask you

from gotosocial_ynh.

PrivacyDragon avatar PrivacyDragon commented on June 8, 2024 1

Yes, I can confirm that it seems to be okay.
(Though comparing it to how I always edited it by hand, there is one difference. It looks like you put an extra blank space after 'oidc-enabled:'. So instead of oidc-enabled: true you have it oidc-enabled: true.
However, that is not important for the config to work. It works. More of a cleanliness thing.)

from gotosocial_ynh.

PrivacyDragon avatar PrivacyDragon commented on June 8, 2024

This is by now already possible, right?
(I have set up Dex for OIDC. And that works. Though I have to manually edit the config file of GTS every time after an update.)

from gotosocial_ynh.

OniriCorpe avatar OniriCorpe commented on June 8, 2024

hi @PrivacyDragon and thanks for the reminder about OIDC

can you provide me with a valid configuration example to help me implement this appropriately?

from gotosocial_ynh.

PrivacyDragon avatar PrivacyDragon commented on June 8, 2024

You mean configuration on the GoToSocial side, I guess?
That is really just in the configuration example.
So, I set oidc-enabled to true
And then oidc-idp-name to Dex
I kept the oidc-skip-verification at false. The comment above it states that it should never be set to true in production.
I set oidc-client-id to what I set as appname to be used with Dex. (So, "GoToSocial", in this case.)
for oidc-client-secret I had DuckDuckGo generate a random UUID, which I had to set in Dex as the client-secret as well.
I kept oidc-scopes at the default.
I think the official documentation gives a proper example?
https://docs.gotosocial.org/en/latest/configuration/oidc/

from gotosocial_ynh.

OniriCorpe avatar OniriCorpe commented on June 8, 2024

It looks like you put an extra blank space

It seems to be a core config panel bug, because I've checked everything and I can't find anything in my code that would do that :/

from gotosocial_ynh.

Related Issues (16)

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.