Skip to content

Where is the authorization code saved? #26

@gischer

Description

@gischer

I am trying to bring this up on my own. I wrote a login/authorize template of my own, following the example in the README.

This example takes localStorage.getItem('Meteor.loginToken') and renders it as "code". Should the user click "Authorize", it is passed to the redirectUri as code and then sent back to the tokenUri as code. Tracing verifies that this is what is happening.

However, the server does not recognize that it is a valid code. This appears to me to be because it was never saved in an entry in collections.AuthCodes via a call to saveAuthorizationCode

I think I must be missing some basic thing in what I have done, but I can't see what it is. Can you tell me where the authorization code is saved? Or what else it is that I have overlooked?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions