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

Refresh token doesn't work #449

Closed
matteosuppo opened this issue May 4, 2017 · 2 comments
Closed

Refresh token doesn't work #449

matteosuppo opened this issue May 4, 2017 · 2 comments

Comments

@matteosuppo
Copy link
Contributor

Here's the configuration of the client:

{
    "client_name": "site.example.cc",
    "client_secret": "",
    "client_uri": "",
    "contacts": [],
    "grant_types": [
        "authorization_code",
        "refresh_token"
    ],
    "id": "site",
    "logo_uri": "",
    "owner": "",
    "policy_uri": "",
    "public": false,
    "redirect_uris": [
        "https://site.example.cc/",
        "https://sitedev.example.cc/"
    ],
    "response_types": [
        "code",
        "id_token"
    ],
    "scope": "profile:core profile:public profile:contact offline",
    "tos_uri": ""
}

But requesting the offline scope doesn't provide a refresh token:

{"access_token":"oEYpmvO4Beuhii5ye9LWtBovEuw45fE-CPRiY1l43sY.LrABg4OOzXWHyKVMoVsXI0mDR9MtqLwZ9eiro2Ms5a4","expires_in":3600,"scope":"profile:core profile:public profile:contact offline","token_type":"bearer"}
@aeneasr
Copy link
Member

aeneasr commented May 4, 2017

I can reproduce this and it's most likely a regression issue as images prior to 0.7.8 are working fine. A potential candidate for causing this is this commit in fosite, however fosite is working fine with scopes, so the issue must lay somewhere else.

@matteosuppo
Copy link
Contributor Author

Indeed, we were using the wrong client. Sorry

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

2 participants