This message was deleted.
# general
m
This message was deleted.
g
Ory Hydra supports oAuth2 dynamic client registration https://www.rfc-editor.org/rfc/rfc7591 We use this approach to create unique client credentials for each instance of our mobile app. https://www.ory.sh/docs/hydra/guides/openid-connect-dynamic-client-registration
s
you might also just register the user with random credentials using Ory identity (Kratos) but depends a bit on your use-case, maybe you can give more details?
e
Yeah, I have a webapp, were I want users that haven’t been registered to be able to try it out, and then keep their user id when they register. So basically: If you’re opening a particular page without being signed in, a new (guest) identity is created. You can use the app a little bit with this identity, but then you get prompted to sign up and this is where this identity (with a user id) is being reused. I’m mostly curious if this is something that would be possible to implement on Nextjs with ory elements. I don’t really want to spend a week or two on this.
s
This will probably not work easily out of the box, but you could invest some time to build this using a combination of registration with random credentials and settings flow to build the UX you want.
e
Alright! Thanks for the quick response