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

Can reference tokens and refresh tokens be mixed? #1536

Closed
Hongwenkeji opened this issue Jan 9, 2025 · 2 comments
Closed

Can reference tokens and refresh tokens be mixed? #1536

Hongwenkeji opened this issue Jan 9, 2025 · 2 comments
Assignees

Comments

@Hongwenkeji
Copy link

Hongwenkeji commented Jan 9, 2025

我在请求引用令牌和刷新令牌后,刷新令牌请求保护的api会请求成功
After requesting the access token and refresh token, the API protected by the refresh token request will be successfully accessed

{
    "access_token": "2026E1EE89C99FECFB193D133326B13DC5E8469CADFB446AFBEE9821A094A33B-1",
    "expires_in": 300000,
    "token_type": "Bearer",
    "refresh_token": "FC387A0697BDA15D718FB2ABB03A9B9DE5D941173132E7587B1EA3E36B13D4AE-1",
    "scope": "api1 offline_access"
}
 .AddOAuth2Introspection("introspection", options =>
        {
            options.Authority = “http://localhost:5001”;

            // this maps to the API resource name and secret
            options.ClientId = "client";
            options.ClientSecret = "secret";
        })
@maartenba
Copy link
Member

Hi @Hongwenkeji - could you clarify the issue you are seeing?

@maartenba maartenba self-assigned this Jan 13, 2025
@maartenba
Copy link
Member

Closing the issue for now. Feel free to re-open it if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants