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

Newly provisioned access tokens don't work #47

Open
RichStone opened this issue Aug 7, 2024 · 0 comments
Open

Newly provisioned access tokens don't work #47

RichStone opened this issue Aug 7, 2024 · 0 comments

Comments

@RichStone
Copy link

Newly provisioned tokens are created without a resource owner which makes the tokens invalid.

The fix should be something like:

  def create
    @access_token.provisioned = true
    @access_token.resource_owner = @application.user

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

1 participant