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

[IMPROVE] Updating [email protected] to [email protected] #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

abhinavkrin
Copy link
Member

Currently, the package uses [email protected]. The issue is that the /token endpoint returns token_type as bearer. Though it is valid, a lot of apps/services support only Bearer. This change has been made in 3.x.x versions. I encountered this issue while adding RocketChat oauth2 login in RC4Community.

I have replaced [email protected] with express-oauth-server. It uses [email protected]. I have made the necessary changes for the migrations. See https://oauth2-server.readthedocs.io/en/latest/misc/migrating-v2-to-v3.html.

No additional changes are required in the RocketChat core repo.

I have published a meteor package abhinavkrin:oauth2-server if you want to try the changes.

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

Successfully merging this pull request may close these issues.

1 participant