gray-shoe-60285
08/21/2023, 2:33 PMreact-oidc-context
to attempt silent sign ins. However, we are encountering the following CSP issues:
[Report Only] Refused to frame '<https://auth.example.dev/>' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'".
Refused to display '<https://auth.example.dev/>' in a frame because it set 'X-Frame-Options' to 'deny'.
Is there any configuration we're missing to allow the above? Thanks!proud-plumber-24205
08/22/2023, 5:22 AMgray-shoe-60285
08/23/2023, 9:52 AMreact-oidc-context
as it seems to be trying to create a hidden iframe - if its not optimal as you say we won't pursue this route. We were thinking the silent request would be necessary to refresh the access token from our OAuth client.
Our current intention is to use a login flow from Ory Elements to obtain an Ory session cookie, then use this to get an access and refresh JWT from our OAuth and maintain the session by having the token refreshed. Once we have the tokens form our OAuth client, we would end the session with Ory using a logout flow, but the user would still have access via the access JWT.
Is this a recommended approach?proud-plumber-24205
08/23/2023, 11:00 AMgray-shoe-60285
08/29/2023, 3:00 PM