Forum Discussion
eraserqueen
3 years agoExplorer
How can we setup a "login with Oculus" on our game's homepage?
We have an oculus game on the store that allows users to import their personal assets (picture, video, music), and a web portal for users to upload/manage those assets. We want our users to be able t...
- 3 years ago
Yes that's right:
- this is the link in our code: https://auth.oculus.com/sso/?redirect_uri=https://ourcompanyredirect.com/endpoint&organization_id=12345678123456
- make sure the org id is the org id, not the app id
- make sure https://ourcompanyredirect.com/endpoint is whitelisted in the SSO page
eraserqueen
3 years agoExplorer
Ok so we had 2 issues :
- we were using AppID instead of OrgID
- we didn't had the correct url in SSO whitelist
With both these steps fixed, we now have a proper linking page.
ioio.bz.it
3 years agoHonored Guest
Hello, would you be so kind to share how you solved it?
Are you calling the link from your URL and added that URL to the SSO whitelist?
Thanks
- eraserqueen3 years agoExplorer
Yes that's right:
- this is the link in our code: https://auth.oculus.com/sso/?redirect_uri=https://ourcompanyredirect.com/endpoint&organization_id=12345678123456
- make sure the org id is the org id, not the app id
- make sure https://ourcompanyredirect.com/endpoint is whitelisted in the SSO page
- amailhot2 years agoExplorer
eraserqueen We have a very similar context to yours; We have an Oculus game available on the store alongside a web portal designed to help users manage their account information. We want to provide users with the convenience of logging into our web portal using their Oculus account, ideally through some form of OAuth or Single Sign-On (SSO) mechanism.
We implemented a solution similar to what is explained in this thread, however we are annoyed that users are prompted to "Connect account" every time they are redirected to the SSO URL...
So I am wondering, do you redirect your users to the SSO page (https://auth.oculus.com/sso/?redirect_uri=https://ourcompanyredirect.com/endpoint&organization_id=12...) every time they want to "Log in with Oculus" from your web portal? This seems to work, however I noticed that users are asked to "Connect account" every time they are redirected to this page... I would have expected that users would only be prompted to "Connect account" once, and that on subsequent visits they would see a normal login page.
I'd like to hear your feedback on this, and know if you have any suggestions?
Thanks!
* I posted a question on the forum about this specific subject here: https://communityforums.atmeta.com/t5/General-Development/Web-logins-using-Oculus-account/td-p/1093396
- rnmagdaleno2 years agoHonored Guest
Hey amailhot, did you ever find a solution/work around/alternative? I'm currently waiting to hear back from Meta/Oculus support but based on the docs it appears the "Connect Account" issue persists and I can't find any docs saying otherwise or a different SSO URI to call.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device