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

Research suspicious introspect in test #26

Open
EvilLord666 opened this issue Aug 1, 2023 · 0 comments
Open

Research suspicious introspect in test #26

EvilLord666 opened this issue Aug 1, 2023 · 0 comments
Assignees
Labels

Comments

@EvilLord666
Copy link
Member

after expiration we expect to have 200 status when calling Introspect:

	// 5. Expire token by timeout and got 401 (Unauthorized) status
	time.Sleep(time.Second * time.Duration(testAccessTokenExpiration))
	userInfo = getUserInfo(t, baseUrl, realm, token.AccessToken, "401 Unauthorized")
	// todo(UMV): this one looking strange because token expired and we expect here 200 as status
	tokenIntResult = checkIntrospectToken(t, baseUrl, realm, token.AccessToken, testClient1, testClient1Secret, "200 OK")

Ensure this is right behaviour and fix if not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant