Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Can this be used via an SPA and without Auth0 Lock? #139

Open
michaelpumo opened this issue Dec 18, 2017 · 4 comments
Open

Question: Can this be used via an SPA and without Auth0 Lock? #139

michaelpumo opened this issue Dec 18, 2017 · 4 comments

Comments

@michaelpumo
Copy link

michaelpumo commented Dec 18, 2017

I followed the steps in the README and I can get it working, but I'm just wondering if anyone has an example of this working via an SPA without Lock.

I am wanting to use auth0-js to roll my own custom login screen instead of requiring the use of Lock on the Auth0 website.

I'm referring to the example here:
https://github.com/graphcool/templates/tree/master/auth/auth0/example

Sorry if this is the wrong place for this. Thanks.

@maxdarque
Copy link

Yes it's very easy to implement your own auth - see code here

Graphcool normally ask users to post questions to the forum

@michaelpumo
Copy link
Author

@maxdarque Sorry, am I missing something? The link you provided appears to integrate to Graph Cool's own email auth and not the Auth0 service. Thanks.

@maxdarque
Copy link

oh my mistake. I see you want to build your own custom login screen. I've never done that before. I used to use Auth0 then switched to implement my own auth. I know you can customise the colors and logo on Lock that's all

@michaelpumo
Copy link
Author

@maxdarque Yep. I got it all working, but not with resolvers. I had it going okay when I was using the Auth0 integration but it's now deprecated so I'm trying to move to the resolver solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants