Questions tagged [satellizer]

Satellizer is a simple to use, end-to-end, token-based authentication module for AngularJS with built-in support for Google, Facebook, LinkedIn, Twitter authentication providers.

Satellizer is a simple to use, end-to-end, token-based authentication module for AngularJS with built-in support for Google, Facebook, LinkedIn, Twitter authentication providers, plus Email and Password sign-in method. You are not limited to the sign-in options above, in fact you can add any OAuth 1.0 or OAuth 2.0 provider by passing provider-specific information during the configuration step.

147 questions
7
votes
0 answers

Spring Social The OAuth2 'state' parameter is missing or doesn't match?

I am developing a mobile application using Jhipster and Jhipster-ionic along with cordova. Currently, I am using Token-based AngularJS Authentication (Satellizer) to Login with OAuth 2.0 and I have an issue with Spring Social, this is the exception…
foboss
  • 430
  • 4
  • 14
6
votes
1 answer

Random 400 "token_invalid" errors with Laravel / jwt-auth and Angular / Satellizer app

I have an Angular app that consumes an API I built in Laravel, and I use jwt-auth for token management and satellizer on the front end to send the token with each request. My live environment (for both the front end and the API - which will be moved…
DJC
  • 1,175
  • 1
  • 15
  • 39
6
votes
2 answers

Set authorization in Node request.headers

I'm attempting to send a Passport-Local login request to the client side to be analyzed by Satellizer, and I would like the request from the server side to send an authorization token. Unfortunately, there is no key authorization in…
Les Paul
  • 1,260
  • 5
  • 22
  • 46
6
votes
2 answers

Protractor testing, access and modify Window object properties

I'm trying to write a simple e2e test for the authentication we use in our project, Authentication is based on a json web token which is set into window.localStorage.satellizer_token . To set it i use the code below, but for what i see it doesn't…
pietrovismara
  • 6,102
  • 5
  • 33
  • 45
6
votes
3 answers

How to change Satellizer's $authProvider.loginUrl inside an Angular controller?

Here's my case scenario: User is not logged in, and they try to access a /settings page. My Settings controller recognizes based on $auth.isAuthenticated() != true that they aren't logged in, and redirects them to /login User fills out their email…
Martyn Chamberlin
  • 1,277
  • 14
  • 17
6
votes
4 answers

OAuth: how to set dynamic callback URL?

I have incorporated Satellizer into my app with a variety of social login providers (Facebook, Twitter, Google). My stack consists of: AngularJS (UI Router) and NodeJS/Express. I seem to be encountering a challenge setting up dynamic callback URLs…
Matt
  • 2,317
  • 7
  • 41
  • 52
5
votes
2 answers

Get google account information after login in my website with google sign in (Used satellizer lib for login)

I have used satellizer and node server for login in my website with google sing in. I have successfully login and following data added in mongodb database. { "_id" : ObjectId("57adec45a8fb51401c1ba843"), "displayName" : "xyz user", …
Mehul Mali
  • 3,084
  • 4
  • 14
  • 28
4
votes
2 answers

Satellizer login JWT token is gone when page refresh

I am using the Angular-satellizer extension for the login/register feature but I am stuck at number 7. Token was saved to localStorage but I when refresh the page it's gone and $auth.isAuthenticated() function is returning…
Nasuh
  • 355
  • 3
  • 20
3
votes
0 answers

Suggestions/Alternatives to Sahat/Satellizer for Ionic 2

I want to use a token-based authentication module for my Ionic 2 application. But as you can see, Satellizer is not that suitable for Angular2, mentioned in this issue. Also I found this, an angular2 repository for authentication based on angular1's…
CountCiano
  • 63
  • 1
  • 7
3
votes
1 answer

Can't make vimeo api call when logged in, work when logged out

I've implemented Satellizer (https://github.com/sahat/satellizer). Now when I log in, any vimeo api calls made returns Failed to load resource: the server responded with a status of 401 (Authorization Required) error:"You must provide a valid…
Kuja
  • 449
  • 6
  • 20
3
votes
0 answers

CORS issue with Angular (Satellizer) and Facebook login

This is my first StackOverflow input, so please be gentle :p I'm doing a webapplication with the MEAN-stack, and I've ran into a problem that i cant seem to fix. Tried several solutions that i've found online, but nothing seems to work. I have this…
Nicolai Harbo
  • 1,064
  • 12
  • 25
3
votes
1 answer

Satellizer and Passport integration

I currently have an ExpressJS application with PassportJS up and running. I use Passport to authenticate with GitHub. These are the existing endpoints. This creates the authorization url and redirect to that url: app.get('/auth/login',…
Angel S. Moreno
  • 3,469
  • 3
  • 29
  • 40
3
votes
1 answer

Satellizer Warning "Expecting a token named token" for laravel authentication with JWT

I am following this tutorial - https://www.codetutorial.io/laravel-and-angularjs-token-based-auth-part1/. I've modifed it a bit by making a separate laravel backend and another folder for angular frontend. As of now, I running this on…
Stacy J
  • 2,721
  • 15
  • 58
  • 92
3
votes
1 answer

how to get email of authenticated user in angularjs using satellizer

I am creating a webapp in angularJs, and using satellizer for authentication. I am able to use to authenticate using google, but I couldn't figure out how to get email id of authenticated user somewhere in my UI code. I couldn't found any function…
Saurabh
  • 71,488
  • 40
  • 181
  • 244
3
votes
3 answers

Satellizer Facebook login not returning the right scope

I'm using Satellizer to do a Facebook login, it works great except that Facebook is not returning all the users info. I'm only getting a name and ID but no email when I inculde in my scope email and public_profile. Here is my FB config on the…
denislexic
  • 10,786
  • 23
  • 84
  • 128
1
2 3
9 10