Closed phrontizo closed 3 months ago
I was testing this plugin with Postman, and discovered that using a bearer token always results in an "invalid token" issue and redirection to login. The issue seems to be: https://github.com/wdonne/traefikoidc/blob/28879155397541f8dfe8e05a9ce1bca36c2c2b13/oidc.go#L273
I think the string should be split on a space rather than empty string.
You are right. It always falls back to the cookie because of this. Thanks for reporting.
Fixed in v1.1.0.
I was testing this plugin with Postman, and discovered that using a bearer token always results in an "invalid token" issue and redirection to login. The issue seems to be: https://github.com/wdonne/traefikoidc/blob/28879155397541f8dfe8e05a9ce1bca36c2c2b13/oidc.go#L273
I think the string should be split on a space rather than empty string.