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

app-timefiller does not work with personium-core v1.7.18b #40

Closed
tochi-y opened this issue Oct 2, 2019 · 3 comments
Closed

app-timefiller does not work with personium-core v1.7.18b #40

tochi-y opened this issue Oct 2, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@tochi-y
Copy link
Member

tochi-y commented Oct 2, 2019

This error message is displayed in the screen.

http access

request
POST https://tochi.test.example/__token
Requestbody:

grant_type: refresh_token
refresh_token: RR~v9Jy3*************Eow
client_id: https://app-timefiller-wakaba.tochi.test.example/
client_secret: PEFz***************b24-

response
Status Code: 401 Unauthorized
Responsebody:

{
  "error_description": "[PR401-AN-0020] - Client mismatch for refresh token. [https://app-timefiller-wakaba.text.example/]",
  "error": "invalid_client"
}
@tochi-y tochi-y added the enhancement New feature or request label Oct 2, 2019
@shimono
Copy link
Member

shimono commented Oct 2, 2019

This error is returned when switching applications upon refreshing tokens.

@tochi-y
Copy link
Member Author

tochi-y commented Oct 23, 2019

As well as personium/app-personium-calendar#155, I created a new environment with v1.7.19 and did a same test. Same issue is completely occurred.

Request

GET https://tochi.test.example/timefiller/
Authorization: Bearer AV~*********E5A

Response

Status Code: 403
Body:

{
  "code": "PR403-AU-0002",
  "message": {
    "lang": "en",
    "value": "Necessary privilege is lacking."
  }
}

@shimono Is it a personium-core bug?

@tochi-y
Copy link
Member Author

tochi-y commented Nov 1, 2019

Resolved in personium-core v1.7.20. But there is an another issue #41.

@tochi-y tochi-y closed this as completed Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants