Login using single sign on (SSO) in Laravel [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
This post was edited and submitted for review last year and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
I plan to introduce a single sign-on (SSO) to my Laravel 5 applications. Basically, I have two websites on different domains. The idea is simple: if I'm already authenticated on one of them, I don't need to sign in on the other.
I've been looking for a solution for a while now, but I would like to ask you: Do you know or can recommend a package or library to provide SSO to Laravel application?
Native PHP solutions are also welcome. Thanks!

You can use the SAML standard in order to solve your SSO needs.
Review this github repository that help you implement a SAML service provider:
https://github.com/aacotroneo/laravel-saml2
If you need to implement a SAML Identity provider you can use simpleSAMLphp and use Lavarel database as authentication source.
https://simplesamlphp.org/docs/stable/simplesamlphp-idp

You can try out the miniorange/saml-laravel-free package. It makes things quite simple as it also provides a GUI and also does the whole authentication thing own its own.

Related

Packages/libraries to build a Laravel 5 REST API [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm going to build a back-end API REST using Laravel 5 for an iOS application (perhaps for Android in the future) so I found a couple of packages on github for the API authentication:
https://github.com/chrisbjr/api-guard
https://github.com/lucadegasperi/oauth2-server-laravel
And I want to know what's the different between them and what package could be the good choice for my API and of course If you have some advices or another packages to use, will be perfect.
Kind regards.
The oAuth2 server package follows rfc6749 and will help you have an Auth server like fb. (please see the link I provided for more information)
You may use a second app for it to separate your servers. (Auth server - resource server)
I never used api-guard but as it says in read me, It will provide a basic api key protection.
If you are planning to share your api with third party apps with user permission, I advice you to follow the oAuth2 path.
But if you are planning to use it in your app only, you definitely need api key only. Don't spend time for oAuth2 configurations.

How to setup a simple API key for use with a Wordpress plugin [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am currently writing a payment gateway integration for wordpress (simple redirect) and once finished I would like to list it for sale online for others to use.
The plugin will be listed in the wordpress extensions, and there will be a free version with all the basic functionality. The pro (paid) version will have further customisation to page styling etc.
So - I would like people to pay on a website for an API key for the pro version, and simply enable that functionality on their plugin by entering the key...
Can someone point me in the right direction as to where to start?
Is there an open source framework for this already available?
Do I learn RESTful/SOAP?
Any help would be greatly appreciated - thanks!
If you're open to a 3rd Party solution, check out http://3scale.net. It will take care of letting you create a white-label page to assign/manage API keys, and let you set up metering too, if you'd like. I've used their Scala library with great success, but there is also a PHP library they provide that will do the trick for you.
https://github.com/3scale/3scale_ws_api_for_php/tree/master

SAML Authentication Portal [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'd like to develop a portal similar to what a company like OneLogin (http://www.onelogin.com/) has: The user would login with their login credentials then have links to the web resources that their account is associated with. When they see their resources all they need to do is click on them and they'll be automatically login in (SAML authentication).
Are there any open source projects out there that have started on this effort? It would be great if there was something that we could use as a base to build on top of with a friendly license (e.g. MIT).
Thanks
You tagged it "php" but that doesn't appear in your question?
Essentially, you need a client-side SAML stack.
I've listed all the ones I know about here:
SAML : A SAML stack .
In terms of php, have a look at simplesamlPHP.
That has all the plumbing you'll need and it's open source.
If you want it developed with Symfony2 PHP framework you could check SamlSPBundle or its foundation stand-alone library lightsaml

Domain Registration API [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
At my company I have to do a lot of domain registration.
Is there a way for me to write something in a common web-language e.g. Ruby/Python/PHP that would allow me to buy a domain name from my own custom web-interface? In essence I'm looking for an API that would allow me to register domains.
Any ideas?
If I understand correctly, you want to create a web interface to register domains from a variety of domain registrars?
Most of these companies have published APIs or web services to allow just this use case, so you'll need to check with each one you deal with and find out what they offer, and how to use them. Many will also offer client libraries targetting their API, in a variety of languages, so your choice of development tools will be informed in part by the availability of such libs.
It's also possible, that you will find plugins for Rails or Django that'll get you started - but I haven't checked.
If you are dealing direct with registries, as distinct from registrars, you may be able to use their EPP implementation.
I personally can recommend www.opensrs.com. They provide APIs for PHP and Ruby. With these APIs you can order DOMAINS, EMAIL HOSTING and SSL certificate. See http://www.opensrs.com/integration/api for more details.

Which PHP OpenID server/provider library do you recommend? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am just wondering what PHP OpenID server (some here http://wiki.openid.net/w/page/12995226/Run-your-own-identity-server) you all would recommend from your experiences? Any that I should definitely avoid etc?
Im using a XAMPP setup, and looking for something fairly easy to implement, it doesn't have to be extremely robust or anything, just something fairly simple that will support multiple user registrations (with passwords - I think the Janrain php openID server implementation doesnt support passwords as far as I know)
Many thanks!
I wonder whether the answer is none -- there was this thread on Quora abut the problems with OpenID and the lack of a good server was one of them.
LightOpenID now includes a server as well.
But after playing with it, it is definitely alpha. It is just difficult to sort out what the basic model is, even with the two examples.
Now trying Zend Open ID Provider Classes.

Categories