- Home /
OIDC Authentication DLL compatability and web browser help
Hi,
Got a doozy of one here. I did ask before on a related topic but we have evolved past that one a bit it does seem (original question here: https://answers.unity.com/questions/1721862/authorization-using-oidc-codeflow-help.html). So we are still working through a way to do a OIDC PKCE codeflow within Unity for our Virtual Reality applications.
Where we seem to be stuck now is needing to figure out why some elements within the DLLs our C# DLL guy aren't cooperating. Turns out the DLLs have some desktop specific code which won't work as we're targeting Oculus Quest which is Android. Now it does seem some have reported success replacing a given DLL for .net 4.X with a .net 2.0 DLL.
He did say we could try using NUGET but that can bring about issues within Unity as NUGET pulls down various versions of the same DLL which I know from my years of Unity experience Unity gets unhappy with. Curious if anyone here has workarounds, success or a way to utilize NUGET within a Unity application.
One more possibly more difficult issue is part of the OIDC flow involves a web browser for the authentication and we are also looking for a good solution for that within the Oculus Quest as currently if I attempt to utilize the built in browser inside the Quest it breaks the communication link between the app and browser. So we need to find a reliable solution for a browser or custom browser tab that is built and distributed within the app itself not relying on the device's built-in browser.
Another snafu here is we are utilizing URP (Universal Rendering Pipeline), I know Vuplex has a really solid looking one that doesn't support URP well (yet) and I did find one that I'm trying to get a keyboard I built for VR to interact with as an external keyboard isn't a solution, so curious if anyone knows or has one here that may be of help.
Whew, that's a lot.
TLDR: We are trying to do a OIDC PKCE codeflow within Unity for our Virtual Reality applications on the Oculus Quest. We are running into IdentityModel DLL issues that are running desktop functions/code which obviously isn't Quest/Android compatible so we're trying to get these .net 4.x dlls to cooperate or find a way to get the same .net 2.0 ones in there to see if that'll work using NUGET which doesn't play well with Unity. Lastly we need a built-in web browser solution for the application that works with URP.
Your answer
![](https://koobas.hobune.stream/wayback/20220612234039im_/https://answers.unity.com/themes/thub/images/avi.jpg)