Urgent:
So I am using keycloak as my OIDC provider, everything has been setup nicely. working fine. I want to know whether Appwrite creates a new UUID everytime within the flow if it doesn't exists in the existing db or it uses the user id that is coming from OIDC? if yes then how do i get it? account.get() is not having any other field i can refer to.
My other applications depend on it.
I am planning to make two appwrite functions to implement that but let me know if there is any workaround for this before I proceed with rewriting the entire auth again.
Thanks in Advance.
TL;DR
Appwrite uses a new `UUID` if the user does not exist in the database, rather than the OIDC User ID. Currently, there is not a direct way to access the OIDC User ID through `account.get()`. Consider creating two Appwrite functions to handle this or look for workarounds before modifying the authentication system.