angular-token icon indicating copy to clipboard operation
angular-token copied to clipboard

:key: Token based authentication service for Angular with interceptor and multi-user support. Works best with devise token auth for Rails. Example:

Results 51 angular-token issues
Sort by recently updated
recently updated
newest added

The issue where the password reset requires the 'passwordCurrent' field is fixed in the repo but I belive the changes haven't been pushed to npm.

0.2.0

## I'm submitting a... - [x] Other... Please describe: ## Current behavior I use the UserSignedin() to detect if the user is signed in: ``` if (this.authTokenService.userSignedIn() == true) {...

Hello When I do multiple refreshs in different tabs, the token is lost and I receive a "unauthenticated" status from server. This is a correct behavior? I have a page...

0.2.0

Hello, I'm trying to use the `canActivate` as below: ``` import { Angular2TokenService } from 'angular2-token'; const routes: Routes = [ { path: 'login', loadChildren: () => System.import('./login/login.module') }, {...

question
0.2.0

Hi, I use constants to build my URLs. ```typescript export const baseUrl = 'http://example.com'; export const usersUrl = '/v1/users'; ``` because for me it's easier to make calls such as...

0.2.0

Hello and thanks for creating such a good package! I have a setup with rails api only app (built in rails 5) as my back end with devise_token_auth, omniauth-facebook and...

0.2.0

I tried signInOAuth() with the default authentication flow (), after the authentication the window doesn't close and nothing else happens. I also tried the Online demo, and I got the...

0.2.0

Hi, I have error > cannnot read property 'validateTokenPath' of undefined. Stack - Ionic 3.9.2 - Angular 5.2.9 - angular2-token I have this.auth.init({ validateTokenAuth: 'PATH' }) and still throw error....

0.2.0

build ```console node --version v10.0.0 npm --version 6.0.1 nvm --version 0.33.11 npm run build > [email protected] build /home/user/node_modules/angular2-token > rimraf dist && ng-packagr -p ng-package.json Building Angular Package Building entry...

0.2.0

In ``` Angular2TokenService.prototype.tryLoadAuthData = function () {.... ``` you have ``` if (this.activatedRoute) this.getAuthDataFromParams(); if (this.atCurrentAuthData) this.validateToken(); ``` But the method "getAuthDataFromParams()" uses "this.activatedRoute.queryParams.subscribe...." (so observable) And therefore the next...

0.2.0