acoustic-insurance-23566
12/07/2023, 2:16 PMory.toSession(undefined, undefined, {
headers: {
"Cache-Control": "max-age=0",
},
})
raises an error Expected 0-2 arguments, but got 3.ts(2554)
2. using
ory.toSession(undefined, {
headers: {
"Cache-Control": "max-age=0",
},
})
seems to work as expected - I can see the cache-control header in the request. But the request results in a CORS error: "Cross-Origin Resource Sharing error: PreflightMissingAllowOriginHeader".
This is for development for now, we're connecting to Ory through the Ory Tunnel.
Would you have any pointers? We have a use-case where we want to set the cache expiration to be a bit more conservative than your defaults, so this would be a pretty useful capability to have.careful-pager-12918
12/06/2023, 7:11 PMgifted-angle-64519
12/06/2023, 9:48 AMpageToken
. However, the IdentityApi.ListIdentities
has return type of Task<List<ClientIdentity>>
and I don't know how to receive the token for the next page.
2. My authorization model is extremely simple and Ory Permissions seems to be quite an overkill for it. On top of that, I need to come up with a solution that is relatively simple to justify Ory Network to my peers and managers. Is there a way to safely store permissions on the identity object itself? I was thinking something like claim or Ory traits.broad-eve-11212
12/06/2023, 9:41 AMfast-pizza-10456
12/06/2023, 2:27 AMfast-eve-41839
12/01/2023, 1:27 PMgifted-angle-64519
11/30/2023, 9:51 AM<http://project1.com|project1.com>
, <http://project2.com|project2.com>
). Assuming that I serve the the panel on the same domain as the projects (<http://admin.project1.com|admin.project1.com>
) can I configure Ory to accept redirects to the same Ory project on multiple domains (e.g. <http://ory.project1.com|ory.project1.com>
and <http://ory.project2.com|ory.project2.com>
) and keep using cookies? Or is this the case where tokens should be used instead of cookies?faint-tent-43897
11/29/2023, 8:39 AMflaky-jackal-53392
11/29/2023, 8:04 AMagreeable-microphone-83376
11/28/2023, 4:08 PMfast-eve-41839
11/28/2023, 12:10 PMjolly-church-81926
11/24/2023, 3:06 PMfast-pizza-10456
11/21/2023, 11:26 PMnice-musician-60677
11/21/2023, 3:27 PM"config": {
"auth": {
"config": {
"in": "header",
"name": "my-key",
"value": "my-key-value"
},
"type": "api_key"
}
As we store the configuration file in our repository, we do not want to commit this key there.
So is it possible not to specify the value of the authentication key in the configuration file and have it only in Ory console?
We do not see anything about it in the docs.
Thanks!boundless-sugar-31257
11/21/2023, 12:04 PMselfservice.flows.login.ui_url
"
In the Ory console of a project where can I adjust this url?broad-solstice-41284
11/17/2023, 1:23 PMcurved-fountain-46946
11/16/2023, 10:46 AMfierce-wolf-75402
11/14/2023, 5:52 PMfierce-wolf-75402
11/14/2023, 4:05 PMketo_engine_acp_ory
authorizer in OathKeeper? If so, do I just set the keto_engine_acp_ory
handler’s base_url to the Ory Network project slug URL?numerous-agency-95303
11/14/2023, 10:12 AMgray-shoe-60285
11/13/2023, 4:25 PMsession_after_registration
.
We’ve set up a fresh project to check this using the react spa example.
In the first case we’re initialising the registration flow with promt=registration
which brings us to our registration page. We can see this flow object includes an oauth2_login_request
object. The user signs up and continues with the verification flow, but after verifying The continue
button from Ory Elements takes them to /ui/welcome
on localhost:3000
rather than completing to the original oauth flow?
We have also tried initiating with prompt=login
, then going from localhost:3000/login
to localhost:3000/registration
via Don't have an account? Signup Once we’ve verified in this case, the continue
button does take us back to the original oauth flow, but instead of completing the flow, it redirects us back to localhost:3000/login
asking the user to enter in the password again. (and actually after entering the password it redirects to localhost:300/oauth2/...
rather than localhost:4000/oauth2/...
We don't want users to have to enter the password for a second time. Are either of these changes meant to make this possible?
The attached screen recordings show both of the above cases in action. Any clarification if this is possible at the moment with Ory would be a big help, thanks!chilly-memory-85439
11/13/2023, 4:13 PMfaint-tent-43897
11/13/2023, 2:22 PMearly-oil-83208
11/13/2023, 12:29 PM$ ory patch oauth2-config $PROJECT \
--add '/oauth2/token_hook/url="<https://my-example.app/token-hook>"' \
--format yaml
I[#/oauth2/token_hook] S[#/properties/oauth2/properties/token_hook/oneOf] oneOf failed
I[#/oauth2/token_hook] S[#/properties/oauth2/properties/token_hook/oneOf/0/type] expected string, but got object
I[#/oauth2/token_hook] S[#/properties/oauth2/properties/token_hook/oneOf/1/$ref] doesn't validate with "#/definitions/webhook_config"
I[#/oauth2/token_hook/auth] S[#/definitions/webhook_config/properties/auth] validation failed
I[#/oauth2/token_hook/auth/config/in] S[#/definitions/webhook_config/properties/auth/properties/config/properties/in/enum] value must be one of "header", "cookie"
I[#/oauth2/token_hook/auth/type] S[#/definitions/webhook_config/properties/auth/properties/type/const] value must be "api_key"
agreeable-microphone-83376
11/11/2023, 12:12 PM<https://www.ory.sh/docs/keto/sdk/go>
, I am consistently getting Error: 401 Unauthorized
I am using Golang and working with REST API Example to Create and Check permissions.
&{401 Unauthorized 401 HTTP/2.0 2 0 map[Alt-Svc:[h3=":443"; ma=86400]
Cf-Cache-Status:[DYNAMIC] Cf-Ray:[82460dd218551b6e-DEL]
Content-Length:[139] Content-Type:[application/json]
Date:[Sat, 11 Nov 2023 11:04:22 GMT] Ory-Network-Region:[euw]
Ory-Network-Request-Id:[5a218a34-0317-990e-b60e-03f5225dd719]
Server:[cloudflare]
Set-Cookie:[__cf_bm=N4PM96TOQRH5bdI6xqo8vp5bG0QqBe3g7HYJCgRW0Is-1699700662-0-AQ+pWmjEefha+2/2GimlqSg3KhjnGrE+voXEThgzYWl01Psh5SF7gZxEkMwlokGD0FwI9Vi2WMFtrTOzIfGi7qY=; path=/; expires=Sat, 11-Nov-23 11:34:22 GMT; domain=.oryapis.com; HttpOnly; Secure; SameSite=None __cflb=04dTodacKU6FNH24G2A1nz3iW5zeyxbzSERGKG592s; SameSite=None; Secure; path=/; expires=Sat, 11-Nov-23 12:04:22 GMT; HttpOnly _cfuvid=m6wSp3_Gx3Si.q3RPiO0s4xNwYAejkVf004NPYw9H.4-1699700662277-0-604800000; path=/; domain=.oryapis.com; HttpOnly; Secure; SameSite=None] Vary:[Origin]] {{"error":{"code":401,"status":"Unauthorized","request":"5a218a34-0317-990e-b60e-03f5225dd719","message":"Access credentials are invalid"}}
1. URL I use is: https://{My-Ory-Network-Project-Slug}.<http://projects.oryapis.com|projects.oryapis.com>
2. API Key: I generated from the Ory Console looks like: "ory_pat_***"
These above URL and API Key work completely fine in POSTMAN using REST API but shows 401 while using client-go
Unable to find understand what am I missing. Any suggestion will be helpful 🙂mysterious-van-90907
11/10/2023, 1:58 PMancient-ice-60674
11/09/2023, 10:07 PMquiet-flag-52938
11/09/2023, 1:26 PMgray-shoe-60285
11/09/2023, 6:24 AMnext.js
application with email
as one of the scopes. On our settings page we allow our users to update their email using Ory Client. After they change their email however, the email we have obtained during the oauth login will now not match the new one Ory has. I assume the same is true for other scopes.
We have tried to trigger a token refresh, but the scopes
we get back don't seem to have been updated? Is there some configuration we need to do to make this happen?
If the user does an ODIC logout then and logs in via the oauth flow again we see the scopes are updated and we get the correct email. But we'd rather not have to log a user out any time they update their email or we some other updated scope?
Thanks!prehistoric-businessperson-29259
11/09/2023, 3:06 AM