Skip to content

generateAuthorizationCode not being awaited #204

Closed

Description

@MaximilianGaedig

generateAuthorizationCode is not being awaited and when I use the authorizationCode in my model it errors because its a promise and not a string, pr: #203
This is a very important issue to fix because if someone follows the types and implements the model correctly it just crashes and doesn't work at all
Workaround: await authorizationCode in the models saveAuthorizationCode function

Activity

  1. jankapunkt commented on Aug 2, 2023

    @jankapunkt
    Member

    Hi @MaximilianGaedig I can confirm your observation and thanks a lot for immediately opening a PR, too! I would like to investigate, why the tests never catched this one, before merging.

  2. jankapunkt commented on Aug 2, 2023

    @jankapunkt
    Member
  3. MaximilianGaedig commented on Aug 2, 2023

    @MaximilianGaedig
    ContributorAuthor

    Thanks a lot for this quick handling of the issue/pr!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't workingbug resolved 😃Bug has been resolved and fixed.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions