authorizerdev / authorizer

Your data, your control. Fully open source, authentication and authorization. No lock-ins. Deployment in Railway in 120 seconds || Spin a docker image as a micro-service in your infra. Built in login page and Admin panel out of the box.
https://authorizer.dev
MIT License
1.61k stars 165 forks source link

feat: Add Discord as Identity Provider #440

Closed foestauf closed 10 months ago

foestauf commented 11 months ago

What does this PR do?

Adds support for Discord as an identity provider

Which issue(s) does this PR fix?

214

If this PR affects any API reference documentation, please share the updated endpoint references

foestauf commented 11 months ago

Putting up a draft PR. Work is mostly complete but I am running into an issue with around verifying state on the oauth callback handler.

lakhansamani commented 11 months ago

@foestauf thank you for the

You can set state with any random string while making a request, it verifies if that state is persistent with request

Example https://demo.authorizer.dev/oauth_login/google?state=test&redirect_uri=https://google.com