解析使用Auth0认证的用户 [英] Parse user authenticated using Auth0

查看:85
本文介绍了解析使用Auth0认证的用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试弄清楚如何一起使用Parse.com和Auth0.

Hi I'm trying to figure out how to use Parse.com and Auth0 together.

当我使用Parse.com设置登录名时,会自动设置currentUser,并且我可以使用该用户来保存该用户的特定项.但是,当我使用Auth0实现身份验证时,当您执行成功的登录时,Auth0会以用户信息(Auth0令牌,fb访问令牌等)响应,并且当然不会创建任何Parse用户.那么,要使用Parse提供的"currentUser"对象,但要使用Auth0提供的身份验证,需要采取哪些步骤呢?那么,如何在解析时创建/保存新用户?

When I setup login with Parse.com the currentUser is automatically set and I can use that user to save items specific for that user. But when I implement authentication using Auth0, Auth0 responds with the user info (Auth0 token, fb access token etc) when you perform a successful login, and of course no Parse user was created. So which steps need to be taken to make use of the 'currentUser' object provided by Parse, but use the authentication provided by Auth0? So how do I create/save the new user on parse?

推荐答案

您是否尝试过 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆