Skip to content

Fixed not completing refresh tokens - #30

Merged
bourgeoa merged 2 commits into
mainfrom
fix/refresh-tokens
Feb 26, 2021
Merged

bourgeoa merged 2 commits into
mainfrom
fix/refresh-tokens

Conversation

@jaxoncreed

Copy link
Copy Markdown
Contributor

A fix for nodeSolidServer/node-solid-server#1533.

Note this has not been thoroughly tested

@matthieubosquet

Copy link
Copy Markdown

LGTM! :)

@bourgeoa

Copy link
Copy Markdown
Member

@jaxoncreed

Copy link
Copy Markdown
Contributor Author

Okay added tests

@bourgeoa

Copy link
Copy Markdown
Member

Wonderful

@bourgeoa
bourgeoa merged commit 0524218 into main Feb 26, 2021
@matthieubosquet

Copy link
Copy Markdown

@bourgeoa do you think you could cut a patch release in order to test the fix on NSS on our side?

@bourgeoa

bourgeoa commented Feb 26, 2021 •

Copy link
Copy Markdown
Member

@matthieubosquet Ok I shall do it first on the https://solicommunity.net:8443 test server.

@matthieubosquet

Copy link
Copy Markdown

Thank you @bourgeoa! :)

@bourgeoa

Copy link
Copy Markdown
Member

@jaxoncreed @michielbdejong Can one of you add me to npm. I cannot publish.
If not can you publish 0.11.2 I have updated the package.json to 0.11.2 and dependencies.

@bourgeoa

bourgeoa commented Mar 5, 2021 •

Copy link
Copy Markdown
Member

@matthieubosquet

Note this has not been thoroughly tested

Could you check that refresh token is working as expected on the test-server https://solidcommunity.net:8443 ?

@jeff-zucker Where you also expecting this to work ? If yes could you test it ?

@matthieubosquet

Copy link
Copy Markdown
POST /token HTTP/1.1
Host: solidcommunity.net:8443
Content-Type: application/x-www-form-urlencoded
Content-Length: 161
grant_type=refresh_token&refresh_token=XXX&client_id=XXX&client_secret=XXX

Still gives a 500 error I'm afraid.

@bourgeoa

bourgeoa commented Mar 5, 2021

Copy link
Copy Markdown
Member

@matthieubosquet Sorry I missed the update should be correct now. Could you retry

@matthieubosquet

matthieubosquet commented Mar 8, 2021 •

Copy link
Copy Markdown

@bourgeoa @jaxoncreed apparently, we're still missing 1 thing: returning an ID token.
@NSeydoux suggested a fix there: #32

Could you see if it makes sense/push/deploy?

@bourgeoa

bourgeoa commented Mar 8, 2021

Copy link
Copy Markdown
Member

@matthieubosquet
I am fully ignorant in this area so :
I manually patched https://solidcommunity.net:8443 with @NSeydoux fix.
Could you check the result.

If OK I could push/deploy

@matthieubosquet

Copy link
Copy Markdown

@NSeydoux 's fix works! ;)

@bourgeoa it would be fabulous if you could get #32 merged!

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

Successfully merging this pull request may close these issues.

3 participants