blue-needle-37891
06/23/2023, 12:27 PM{"type":1,"code":1008,"error":"request_forbidden","errorDescription":"The request is not allowed. No CSRF value available in the session cookie."}
Has someone here experience with this error response?steep-lamp-91158
steep-lamp-91158
blue-needle-37891
06/23/2023, 12:39 PMsteep-lamp-91158
blue-needle-37891
06/23/2023, 12:45 PM<OUT_REDIRECT_URI>/?error=request_forbidden&error_description=The+request+is+not+allowed.+No+CSRF+value+available+in+the+session+cookie.&state=FUhHWgSY_l38BpmzE4m9mg
. This error is then passend on from the webview to the native code where the error is logged.steep-lamp-91158
steep-lamp-91158
blue-needle-37891
06/23/2023, 12:50 PMblue-needle-37891
06/23/2023, 12:53 PMAuthorizationRequest.Builder(
ORY_CLIENT_ID,
ResponseTypeValues.CODE,
CLIENT_REDIRECT_URI
)
.setScopes("openid", "offline")
.build()
blue-needle-37891
06/23/2023, 12:54 PM<OUR_PROJECT_URL>/.well-known/openid-configuration
steep-lamp-91158
blue-needle-37891
06/23/2023, 1:01 PMblue-needle-37891
06/23/2023, 1:04 PMsteep-lamp-91158
steep-lamp-91158
steep-lamp-91158
steep-lamp-91158
blue-needle-37891
06/23/2023, 1:52 PMblue-needle-37891
06/26/2023, 6:47 AM<project-slug>.<http://projects.oryapis.com/.well-known/openid-configuration|projects.oryapis.com/.well-known/openid-configuration>
instead of <our_custom_domain>/.well-known/openid-configuration
.
The weird thing is that the issuer of the idToken we receive is still <project-slug>.<http://projects.oryapis.com|projects.oryapis.com>
instead of our_custom_domain
as specified in openid-configuration
.
This trips up the client-side IdToken validation since the issuers do not match. We managed to work around this, but I guess this is not intended.steep-lamp-91158