Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Alternative Authentication possible? #47

Closed
noxify opened this issue Apr 27, 2017 · 3 comments
Closed

[Question] Alternative Authentication possible? #47

noxify opened this issue Apr 27, 2017 · 3 comments

Comments

@noxify
Copy link
Contributor

noxify commented Apr 27, 2017

Hi,

i would ask, if it's possible to use an alternative authentication package?

Is it "just" changing the guard and the policy class in the config or do i have do change something else?

Thanks!

@noxify
Copy link
Contributor Author

noxify commented May 1, 2017

I tested it a bit and it seems that it requires more than just changing the config.

I have used rinvex/fort which extends the default auth with some good features.

For me, Decoy seems to be the solution to speed up my development, because it includes everything what i need.

My idea/plan is/was to allow my users to control their posts via the decoy control panel.
In my first prototype i created everything from scratch... i don't really like it....

With the curent implementation i don't see the possibility to allow this access without syncing the users table with the admins table.

But correct me if i'm wrong :)

Anyway... thanks a lot for this awesome work :)

@weotch
Copy link
Member

weotch commented May 1, 2017

We have done this in the past, replacing the Decoy auth wtih a client's SSO solution. But it's been awhile and since we only added tests recently, I'm not surprised that's not working as intended. Originally we used the Sentry package but replaced it as it grew in a direction we weren't interested in.

I do want replacing the auth to be possible and would accept a PR if you find the things that need changing to make it work again. But if it's not working now, I don't see us taking on this work ourselves until we have a client of our own that requires it.

@weotch weotch closed this as completed May 1, 2017
@toddvalentine
Copy link

You could try extending the SessionGuard and setting logic in it's user method? Then setting your app to use your extended SessionGuard class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants