Hi,
I am trying to host the ASP.NET SPA template that ships with VS 2013 on IIS. I enabled Google authentication for the Web API. When I run the site from IIS and choose to login using Google, it is getting directed to a URL of following pattern:
localhost/#access_token=<some-access-token>&token_type=bearer&expires_in=1209600&state=<some-state>
It is missing name of the application hosted on IIS. The JavaScript code assigns return URL as
"/", this is causing the issue. I tried changing the return URL as
"/IdentityInSPA" (name of the app hosted on IIS), but this is causing another issue. Call to the API for external login itself is failing and it returns an Invalid request error.
Do I need to change anything at IIS level to get this resolved? Are there any work arounds for this issue?
Go to the complete details ...