Oculus Authentication with OpenXR

Hello, I am working on a VR multiplayer game and specifically right now on enabling the authentication. Anonymous authentication works just great, however we would like to make it possible for the players to transfer the progress between devices (e.g. when upgrading the headset), so we are looking into linking to platform-specific authentication as described here:
https://docs.unity.com/ugs/manual/authentication/manual/platform-signin-oculus

One question in this regards: We are targeting OpenXR, as recommended. However, I cannot find platform-specific authentication via OpenXR, only via the Meta SDK, which then has to be installed simultaneously with OpenXR, which on the other hand is not recommended (even is warned in the editor). Am I missing something, or what would be the way forward?

Thanks and best regards
Kras

Hi @kraskon

Can you share what platforms you are targeting?
Are you looking to target Steam the Meta Platform and others?

I look forward to hearing back the answer may vary depending on your response.

Hello, my question was related to Oculus store, which will be the first release target, followed by Steam and later also the mobile stores - Play Store and App Store.

Thanks for sharing!
Would Facebook login be an option as that may be the easiest way to get the cross-platform functionality?

That way you would be able to log in with facebook through
Meta > Steam > mobile.

The other option may be Code Link

I will work on a tutorial early 2025 that would link STEAM with WebGL and Mobile devices.

@SebT_Unity , thank you!

Facebook is definitely an option for Meta, will look it up, this would at least remove the Meta SDK dependency.

For Steam and mobile - I think it is not viable, please correct me if you see it otherwise, but not everyone has FB and therefore a platform-specific linking would be more appropriate, right? This should not be a problem though, haven’t looked at the platform-specific options yet, but there seem to be enough available.

Code Link sounds a bit bulky because it requires one to have both devices, which is often not the case - e.g. on/after a phone switch.

Looking forward to the tutorial!
Where are you going to publish it, don’t want to miss it!

1 Like

It will normally be pinned to the top of the authentication
page
. I still need to go back and check my older ones. I need more time!

I hope to have something out soon

1 Like