-
Notifications
You must be signed in to change notification settings - Fork 138
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
Functional tests for OIDC authentication #1774
Comments
Ports: 4984 (priority) should work against 4985 Use session got back
Use the id token
Use refresh tokenDoesn't work against internal test provider -- works against Google
Should return new token and session cookie. The session cookie should be valid. |
@adamcfraser just to confirm, it should be sending the token via this header right?
|
I'm trying to test:
and it's returning a 401 response. Here is the ngrep output: https://gist.github.com/tleyden/c8c4a567182b47824a83cfec84e7592f does anything jump out at you that the test is doing wrong? The part I was least sure about is the |
Failing as documented here: couchbase/sync_gateway#1774 (comment)
I'm a bit confused on this. It sounds like the config should be:
and then an ID token should be obtained against the
|
This passes after switching to latest master. |
I moved the remaining tests to a separate ticket: #1882 |
Add functional tests for OIDC authentication, including:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ
use garbage in last bit.notauthenticated Return an authorization error for this user
-- should get some sort of error back (401)The text was updated successfully, but these errors were encountered: