Forum Discussion
PhoenixThrough
10 years agoHonored Guest
Implement Login Operation When User Not Entitled
Hi there, I'm now doing Oculus integration for my project and not able to find a way to implement in-game login in all those best practices. What I wanna achieve is that when user fails entitlement check, we'll give him/her another chance to login. Anyone got idea on this? Thanks in advance.
- Ah. I don't think you'd be able to do that from within your application. The best you can do is let the user know that they are not entitled to the app and give them some reminder steps on what to do. For example, "Are you logged in to the right account?" Login is done through oculus home and not your application.
3 Replies
Replies have been turned off for this discussion
- delphinius81Rising StarI think you might be confusing what the entitlement check is. The entitlement check makes sure that the user has purchased your application. This also covers receiving a key or being granted access through release channels. It's effectively a kind of DRM check to ensure the user has acquired the application through the oculus store (though it does not preclude you from selling your product through other stores, which would require you to implement their own version of DRM).
If you want people to login to some other kind of system, that is optional and up to you on how to implement it. But if a user does not have the Oculus entitlement, you should prevent the user from running your application (though you could just throw some text up on the screen saying they are not entitled and the application will now quit). - PhoenixThroughHonored Guest
delphinius81 said:
I think you might be confusing what the entitlement check is. The entitlement check makes sure that the user has purchased your application. This also covers receiving a key or being granted access through release channels. It's effectively a kind of DRM check to ensure the user has acquired the application through the oculus store (though it does not preclude you from selling your product through other stores, which would require you to implement their own version of DRM).
If you want people to login to some other kind of system, that is optional and up to you on how to implement it. But if a user does not have the Oculus entitlement, you should prevent the user from running your application (though you could just throw some text up on the screen saying they are not entitled and the application will now quit).
Sorry seems that I didn't state my question clearly... I meant to give another chance to user to logon to Oculus Store when he/she fails entitlement check when having an entitled account, like, when one has several Oculus accounts but not starting up the game with the right one logged in, or when one has accidentally gone offline when launching the game.
What we do now is quit the game directly if entitlement check fails, but I just want to make it smoother so players won't need to take off the HMD, do login process on PC, and then put the headset on again.
I'm pretty new to Oculus platform developing and have no idea if there's any API to pop up an in-game warning window (under VR mode) showing "You failed entitlement check" or so and a "Log in" button under it to hold the rest operations, or do we have to make a custom one? - delphinius81Rising StarAh. I don't think you'd be able to do that from within your application. The best you can do is let the user know that they are not entitled to the app and give them some reminder steps on what to do. For example, "Are you logged in to the right account?" Login is done through oculus home and not your application.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 months ago