microscopic-answer-24504
12/09/2023, 7:13 PMbland-eye-99092
12/10/2023, 7:15 PMboundless-insurance-60355
12/10/2023, 7:19 PMboundless-insurance-60355
12/11/2023, 9:09 AM<https://localhost:5225/api/oauth/authorize>
?response_type=code&provider=saml
&client_id=<clientID or tenant and product query params>
&redirect_uri=<redirect URL>
&state=<randomly generated state id>
This state
parameter is passed to the ory self sign in callback, which in our case would be to one of the oidc callback paths like http(s)://<domain-of-ory-kratos>:<public-port>/self-service/methods/oidc/callback/<jackson?>
From what it looks like (and I am a total novice in golang) is that this state parameter isnāt something the user creates but occurs when the login flow is submitted. It seems like it is generated from the flowId and then some extra data, base64 encoded (split by a :
), and stored in the continuity_containers
database table...which happens here
So my question is, how can I create this ācustomā state that embeds this flowId
and data
before calling this authorize
endpoint since it seems like itās important to have a reference to this when running through the callback flow?bland-eye-99092
12/11/2023, 1:39 PMboundless-insurance-60355
12/11/2023, 5:59 PMauthorize
endpoint this takes in the client Id and secret which are the tenant & product names. This resolves to a redirect url that knows which route to send the user to which starts the auth flow š¤ does that make a bit more sense?bland-eye-99092
12/12/2023, 9:18 AMboundless-insurance-60355
12/12/2023, 9:32 AMbland-eye-99092
12/12/2023, 9:43 AMbland-eye-99092
12/12/2023, 9:44 AMboundless-insurance-60355
12/12/2023, 9:47 AMbland-eye-99092
12/12/2023, 9:55 AMboundless-insurance-60355
12/12/2023, 10:00 AMaverage-iron-40995
12/12/2023, 2:49 PMbland-eye-99092
12/13/2023, 8:37 AMboundless-insurance-60355
12/13/2023, 8:42 AMaverage-iron-40995
12/14/2023, 8:47 AMboundless-insurance-60355
12/20/2023, 5:29 AMrhythmic-refrigerator-87521
01/31/2024, 6:04 PMboundless-insurance-60355
02/02/2024, 2:18 AMboundless-insurance-60355
02/04/2024, 5:26 PM