You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to set oauth2 plugin for endpoint. When I set the token_strategy as jwt, it showed that I need authentication, and then it went throug after I got a token from oauth server. However, when I set the token_strategy as introspection, it just went through without a valid token.
{
"log": "{\"api_name\":\"example\",\"error\":\"You need to set a JWT secret\",\"level\":\"error\",
\"msg\":\"Error executing plugin\",\"name\":\"oauth2\",\"time\":\"2019-12-31T23:20:05+08:00\"}\n",
"stream": "stderr",
"time": "2019-12-31T15:20:05.396673601Z"
}
The text was updated successfully, but these errors were encountered:
zjw2011
changed the title
introspection token strategy not work??
introspection token strategy is not work??
Dec 31, 2019
Hi,
I'm trying to set oauth2 plugin for endpoint. When I set the token_strategy as jwt, it showed that I need authentication, and then it went throug after I got a token from oauth server. However, when I set the token_strategy as introspection, it just went through without a valid token.
Here's my config for oauth2 plugin:
jwt config is
Both of token_strategy.settings maybe conflict??
Because I found that log is :
The text was updated successfully, but these errors were encountered: