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
0
votes
1 answer

angularjs to handle inactive users when login

I want to handle the inactive users and keep them out as long as they are not active. Currently, I am just alerting them that they are not active and letting them log in. However, I just want to throw in a login error and keep them out as long as…
qpro
  • 3
  • 1
0
votes
1 answer

Satellizer OAuth Unlinking gives 404 error

I'm testing satellizer example with Laravel back end for Facebook, once user links the Facebook account to the app its impossible to unlink it with satellizer, whenever user clicks Facebook Unilink button it gives 404…
Zarah Dewayne
  • 75
  • 1
  • 7
0
votes
1 answer

satellizer redirectUri not working after successfull auth

I have implemented facebook authentication using angular js for the fronted and laravel for the backend though everything else work fine a get the token from facebook but satellizer doesnot redirect to the redirectUri on success. below is my code …
0
votes
2 answers

How to catch the whether the token is expired or not in machinepack-jwt

I use machinepack-jwt for my login and register in my project. It successfully create the token and everything goes well accept for the expiration part. I don't know how to catch if the token is expired or not. Though I put the expiration time, it…
shamila
  • 1,280
  • 6
  • 20
  • 45
0
votes
3 answers

How to refresh JWT token after expired ( Angular 1.5 + Laravel 5.2)

What is the best and most secured way of using JWT token based authentication with Angular front-end and Laravel back-end (RESTful api)? It is similar to this: http://johnsonsu.com/jwt-tokens-issues-in-angularjs-satellizer/ Thanks in advance.
mudin
  • 2,672
  • 2
  • 17
  • 45
0
votes
0 answers

add access levels to stateprovider by checking if current user has a specific role

I've implemented satellizer(https://github.com/sahat/satellizer) as my authentication. What I want is something along (https://github.com/fnakstad/angular-client-side-auth)'s method of access levels and role permission, based on this: I have added a…
Kuja
  • 449
  • 6
  • 20
0
votes
2 answers

Satellizer close popup event

I found when I tried to login with satellizer, then I selected twitter, then I closed the popup, I could see toastr error and page refreshed (which is correct). But when I tried to login with another social media (except twitter), then I closed the…
0
votes
0 answers

cross origin login in satellizer Angular JS

I am using Satellizer for JWT authentication in front end.I have my server side Node js deployed at Cloud9 and client side running on localhost.Now CORS are enabled on server side through cors module and working fine. Same client side uses…
N.A
  • 855
  • 4
  • 13
  • 34
0
votes
1 answer

OAuth2 with Satellizer and a generic OAuth2 provider

I'm having much trouble getting OAuth2 to work with a generic OAuth2 provider. Here's the situation. A service provides an OAuth2 authentication method to where I want to authorize with. I've created an AngularJS app that has the following…
zwik
  • 89
  • 8
0
votes
0 answers

Getting error using satellizer with ionic

.controller('LoginCtrl', function($scope, $location, $stateParams, $ionicHistory, $http, $state, $auth,$rootScope) { $scope.loginForm = {} $scope.loginError = false; $scope.loginErrorText; $scope.login = function() { var…
0
votes
1 answer

ionic laravel XMLHttpRequest cannot load

i am new to this and i am trying to login and get a token so the ionic and laravel can communicate. I am using satellizer and jwt on laravel. on post man i get the token back: this is what i am getting loging in from ionic: [enter image description…
0
votes
1 answer

Spring-boot angularjs satelizer cors filter

Have a problem with CORS filter, i think. Because when i send request with Authorization header by Intellij Idea REST Tools, my filter catch a Authorization header. But when i try to send request from client side from another server, filter does not…
BabyGluk
  • 89
  • 2
  • 12
0
votes
0 answers

Where is the question mark coming from in Angular URL?

I'm losing my mind trying to find the thing placing the question mark in my URL? It's not there when I'm navigating. But it appears as soon as I try to hit the back end (using Satellizer): Before the Call http://localhost:3000/#/ After the…
G. Deward
  • 1,542
  • 3
  • 17
  • 30
0
votes
1 answer

Easily redirect to login in Angular?

Is there an easier way to redirect to the login state without using a resolve: {} on each state? My app is growing and adding resolves like loginRequired or skipIfLoggedIn to individual states is cluttering my config blocks. If it helps, I'm using…
G. Deward
  • 1,542
  • 3
  • 17
  • 30
0
votes
1 answer

Handle JWT token with private pages in sails js

I want to increase restriction in my system.Then I used JWT token.then i preferred statellizer for the front-end. once user log into the system.it will generate token like this…
Thusithz
  • 736
  • 1
  • 12
  • 33