You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/11/17 13:24:56 UTC

[GitHub] [apisix] dgradecak commented on issue #8125: help request: Webpage content gets only partially loaded after keycloak redirect.

dgradecak commented on issue #8125:
URL: https://github.com/apache/apisix/issues/8125#issuecomment-1318633314

   I ran into the same or similar issue. The documentation is "clear" https://apisix.apache.org/docs/apisix/plugins/openid-connect/#scenarios
   
   `Authentication between Browser and Identity Providers: Set bearer_only to false. After successful authentication, this plugin can obtain and manage the token in the cookie, and subsequent requests will use the token. In this mode, the user session will be stored in the browser as a cookie and this data is encrypted, so you have to set a key for encryption via session.secret.`
   
   although it seems it is mandatory to set it as an object:
   ```
       plugins:       
           openid-connect:
               session:
               secret: "testtesttesttesttest" 
   ```
   
   I hope this helps you.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org