Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement request - Support other Oauth/OIDC authentication services like Authelia/Keycloak/Authentik #29

Open
beastarman74 opened this issue Apr 24, 2022 · 2 comments

Comments

@beastarman74
Copy link

As per title. It would be great if Pastefy would support other open source autentication solutions like those above.

Personally use Authelia as it looks to be the simplest of the 3 I've looked at above. Their Oauth support is currently in beta but is rapidly developing and it works on many services like Gitea, Portainer, Bookstack and Guacacmole.

Thanks for considering.

@mind-overflow
Copy link

I'd be very interested in this too. This would allow for protection without having to rely on third parties.

@firestrife23
Copy link

firestrife23 commented Jun 10, 2022

I have a suggestion, instead of choosing between INTERAAPPS, GOOGLE, GITHUB, DISCORD or TWITCH for AUTH_PROVIDER

You should offer environment variables with the following:

AUTH_PROVIDER: CUSTOM
OAUTH2_PROVIDER_AUTHORIZE_URL: 'https://example.com/application/o/authorize/'
OAUTH2_PROVIDER_TOKEN_URL: 'https://example.com/application/o/token/'
OAUTH2_PROVIDER_RESOURCE_URL: 'https://example.com/application/o/userinfo/'
OAUTH2_PROVIDER_REDIRECT_URL: 'https://example.com'
OAUTH2_PROVIDER_LOGOUT_URL: 'https://example.com/application/o/end-session/'
OAUTH2_USER_IDENTIFIER: 'email'
OAUTH2_PROVIDER_SCOPES: 'email openid'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants