Skip to content

Auth customisation support (OAuth 2.0/Basic HTTP/disabled) #427

Open
@albert118

Description

@albert118

Hi, I'm looking to simplify the login experience for crafty behind my existing SSO solution. Currently, there's no option to customisation the auth experience. I'd like to do one of the following,

disable Crafty's built-in auth entirely,
basic HTTP,
OAuth 2.0,

Obviously disabling auth entirely is annoying with the crafty user system, but I would be perfectly fine with this as the only people looking at the server are admins anyway and can share access. This would also be the simplest to implement with a config flag.

However, basic HTTP auth would be great too, as I can easily integrate with this and provide a user. Again, personally I'd just keep it simple here and provide the admin account in my flow. This would be a little more work (removing login screen, etc.) but would avoid implementing no-auth option.

Buuuuut OAuth 2.0 would be the creme de la creme. It's also the most work (go figure).

Personally, I would love a simple "Disable authentication" option in the config. I'd even be happy to look at raising a PR to contribute this (incl. docs etc.).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions