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

Social Login doesn't work #191

Open
advance512 opened this issue Feb 23, 2017 · 3 comments
Open

Social Login doesn't work #191

advance512 opened this issue Feb 23, 2017 · 3 comments

Comments

@advance512
Copy link

The issue is here:

if (!accountStore.provider) {

The account stores return, but with no authorizeUri.
This is what is returned:

{ 
	href: "https://api.stormpath.com/v1/directories/...",
	name: "My Application Google Directory",
	provider: {
		clientId: "...-......apps.googleusercontent.com",
		href: "https://api.stormpath.com/v1/directories/...../provider",
		providerId: "google",
		scope: "email profile"
	}
}

Please note that this DOES work using the express-stormpath-sample-project example.

Is this library broken?

@advance512
Copy link
Author

Trying to follow the client API myself e.g. going to
https://easy-shell.apps.stormpath.io/authorize?response_type=stormpath_token&account_store_href=https://api.stormpath.com/v1/directories/...
does indeed go to a Google OAuth page, and then redirects back with a JWT response.
But this doesn't help this example or the React project, rather it is the Client API.

Is this library broken?

@cdaniel
Copy link

cdaniel commented Apr 3, 2017

I'm experiencing the same issue. I have lost login functionality.

Indeed this lib iterates over social providers and accepts only those with authorizeUri. How to configure this option?

@cdaniel
Copy link

cdaniel commented Apr 3, 2017

temporary workaround - revert to 1.3.4

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

No branches or pull requests

2 participants