Questions tagged [cartalyst-sentry]

A modern and framework agnostic authorization and authentication package featuring groups, permissions, custom hashing algorithms and additional security features.

196 questions
2
votes
2 answers

How to use reset password on cartalyst sentry

code example come from this I confused on example code I didn't login and click link from email and get user id from? $user = Sentry::findUserById(1);
krissanawat
  • 616
  • 1
  • 11
  • 36
2
votes
1 answer

Sentry 2 - How to control denied group permissions

I am trying to implement my access control using sentry, but I found the documentation not clear enough. A couple of things I need help with: I created a group "tester" with this: $group = Sentry::createGroup( array( 'name' …
aiiwa
  • 591
  • 7
  • 27
2
votes
1 answer

Laravel 4 & Sentry 2 Session issues

I've developed an app in laravel and sentry2 as ACL. Login occurs through SAML. Whenever a user logs in from SAML is redirected to my app where I check server variables, and if credentials are correct I let him pass to the site with sentry. My issue…
2
votes
2 answers

Laravel PHP Fatal Error Class not found when seeding

This is my ContentSeeder.php delete(); Page::create(array( 'title' => 'About us', 'slug' => 'about-us', …
Monica
  • 1,524
  • 4
  • 27
  • 44
2
votes
2 answers

How to get groups belonging to user Cartalyst Sentry 2

What is the best way to get the Sentry Groups my USER model belongs to in Laravel 4.1? I couldn't find anything in the docs about this.
nathan
  • 163
  • 1
  • 4
  • 12
2
votes
1 answer

How to use Sentry 2 in Laravel 4

I have a Personcontroller and a Festivalcontroller in my laravel4 application. The actions in those controllers can only be accessible by an administrator. If my database only has a user with test@hotmail.com, that user can access the routes of…
Gilko
  • 2,280
  • 8
  • 36
  • 45
2
votes
2 answers

Sentry 2 with Laravel 4, remember authentication

I am using the helper Sentry::authenticateAndRemember($credentials); to authenticate the user, but after a while (a few days) I get disconnected. The session driver used is the database one. I investigated the problem and tried to understand how…
alxscms
  • 3,067
  • 6
  • 22
  • 43
2
votes
1 answer

What Kind of Encryption is used by Sentry

I am building an iOS app for an already existing web application I created. The web app uses laravel and sentry to encrypt passwords. New users have to be able to be created from the iOS app. The server that the web app talks to is written in php…
735Tesla
  • 3,162
  • 4
  • 34
  • 57
2
votes
1 answer

Sentry 2 , change password functionality

I am using sentry2 as a ACL bundle for my project in laravel 4. I have a 'super admin' user who manages every user and can edit their details. I want that the super admin should also be able to change the password for a particular user. I know, i…
Nikhil Agrawal
  • 285
  • 1
  • 3
  • 12
2
votes
1 answer

Sentry 2 with ldap

I am new at Laravel 4 and I am moving my projects CodeIgniter to Laravel. I thought to use Cartalyst Sentry 2 for user authentication and authorization. It's working with MySQL, it's ok but I wanna auth users over LDAP. We are using "single sign on"…
1
vote
0 answers

What is the persistance in Laravel sentry?

I'm upgrading laravel version from 4.2 to 5.5. I saw it library called 'Sentry' doesn't support at Laravel Ver 5.5. I want to Change Sentry used Ver4.2 to Sentinel which support Ver 5.5. So, I study Project which use library called…
SD.LEE
  • 31
  • 4
1
vote
1 answer

sentry 2 cartalyst permission package use in php

when try to install sentry 2 with composer it will installed very well. but how can use in existing PHP project thanks in advance.
1
vote
0 answers

Laravel Session + Cartalyst Sentry Session Issues

on Laravel 4.2 and using Sentry 2.1, it looks like there is no way to have Sentry use the same cookie as the laravel session. Right now, the cookies for Sentry are being set for 5 years into the future by default. I don't see a way in their configs…
Du3
  • 1,424
  • 6
  • 18
  • 36
1
vote
0 answers

How to check if user is logged in or not with Cartalyst Sentry2 Laravel?

I wanted to put feature in my application that if user is already logged in & If user try to log In from different browser or computer then he should get notification message about that "Do he want to login here & terminate other session ? In "Yes"…
Vishal Tarkar
  • 808
  • 11
  • 32
1
vote
1 answer

Sentry is not working on my live server

I am using "cartalyst/sentry": "2.1.*" in my laravel 4.2 All things are working fine on my local server, but I am unable to use sentry on live server. My issue is that I am unable to get Sentry user on routes.php $credentials = array("email" =>…
Anshul Mishra
  • 1,706
  • 2
  • 15
  • 38
1 2
3
13 14