Re: Get FAS account authentication facility for my Web page

2013-09-13 Thread Kevin Fenzi
On Fri, 13 Sep 2013 18:53:36 +0530
Uditha Bandara Wijerathna  wrote:

> Hi Malintha,
> 
> The media-wiki auth [0] and wordpress auth plugin for FAS [1] will
> help you to get in to the track. Those things were written in PHP
> too. You can write the fas-auth as Codeigniter auth plugin.

Just as a note here... you can use openid, but you shouldn't use direct
FAS unless your application really is running inside Fedora
Infrastructure. 

We want to make sure people don't enter their fas information into any
3rd party forms or websites. You should only enter your fas
login/password to a fedoraproject.org site. 

kevin


signature.asc
Description: PGP signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Get FAS account authentication facility for my Web page

2013-09-13 Thread Nathanael D. Noblet

On 09/13/2013 10:35 AM, Kevin Fenzi wrote:

We want to make sure people don't enter their fas information into any
3rd party forms or websites. You should only enter your fas
login/password to a fedoraproject.org site.


Ah shoot! I'm going to have to write that nice Nigerian prince and see 
if we can still do the $100,000,000 transfer with only my personal 
information and without my FAS credentials. :D Fingers crossed!



--
Nathanael d. Noblet
t 403.875.4613
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Get FAS account authentication facility for my Web page

2013-09-13 Thread Toshio Kuratomi
On Sep 13, 2013 6:56 AM, "Sarup Banskota"  wrote:
>>>
>>> > > I am a student who is participating GSOC 2013 for Fedora
organization. I
>>> > > am developing a web application for fedora ambassadors. I want to
give
>>> > > users to login facility with FAS. I could found that the FAS is
providing
>>> > > OpenID facility. How can I implement a login with FAS in my web
page.
>>> > > Could you give me a direction
>
>
> Hi Malintha,
>
> I'm doing a GSoC this year too, and although it uses Ruby on Rails,
building a web application for designers. I had added FAS-OpenID support to
the application, and had blogged about that here[1]. I'm not sure how much
it would be of use to you, but you might want to take a look at it too :)
>
> [1]-
http://thirstyforcola.wordpress.com/2013/06/30/setting-up-openid-on-rails/
>
Yeah, openid is the way to go for now.  The WordPress auth module is from
before we had reliable openid and the ability to check your groups from
openid.  (That is available via an extension to openid now).

But to pause for one moment - do either of these apps have a goal of
running on fedora infrastructure?  If so you should know that all of our
own apps that we have to do maintenance on are written in python with a
distinct preference for the flask and pyramid web frameworks.  We run some
third party apps, well maintained upstream, written in php.  And we do not
run any java or ruby apps (the latter we might be able to start using under
similar rules to our third party php apps once we get rid of puppet
(migration to ansible is happening but slowly)).  No idea what it would
take for us to run java apps.

-Toshio
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Get FAS account authentication facility for my Web page

2013-09-13 Thread Sarup Banskota
>
> > > I am a student who is participating GSOC 2013 for Fedora organization.
>> I
>> > > am developing a web application for fedora ambassadors. I want to give
>> > > users to login facility with FAS. I could found that the FAS is
>> providing
>> > > OpenID facility. How can I implement a login with FAS in my web page.
>> > > Could you give me a direction
>>
>
Hi Malintha,

I'm doing a GSoC this year too, and although it uses Ruby on Rails,
building a web application for designers. I had added FAS-OpenID support to
the application, and had blogged about that here[1]. I'm not sure how much
it would be of use to you, but you might want to take a look at it too :)

[1]-
http://thirstyforcola.wordpress.com/2013/06/30/setting-up-openid-on-rails/
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Get FAS account authentication facility for my Web page

2013-09-13 Thread Uditha Bandara Wijerathna
On Fri, Sep 13, 2013 at 4:23 PM, Malintha Adikari <
malintha.adik...@hotmail.com> wrote:

>
>
> Hi,
>
> I am using PHP as my language, and codeigniter as my framework. The goal
> is to provide facility to people to register for fedora event. They can use
> their FAS account to authenticate identity to register for the events.
>
>
> > Date: Fri, 13 Sep 2013 12:14:00 +0200
> > From: pin...@pingoured.fr
> > To: devel@lists.fedoraproject.org
> > Subject: Re: Get FAS account authentication facility for my Web page
>
> >
> > On Fri, Sep 13, 2013 at 03:56:03PM +0600, Malintha Adikari wrote:
> > > * Hi,
> > >
> > > I am a student who is participating GSOC 2013 for Fedora organization.
> I
> > > am developing a web application for fedora ambassadors. I want to give
> > > users to login facility with FAS. I could found that the FAS is
> providing
> > > OpenID facility. How can I implement a login with FAS in my web page.
> > > Could you give me a direction
> >
> > Hi,
> >
> > You might want to port this question over to the infrastructure list:
> > https://admin.fedoraproject.org/mailman/listinfo/infrastructure
> >
> > However, to answer it, it all depends on how your application was
> written. Is
> > there not an OpenID plugin for the framework you used?
> > If so, then it's probably the easiest starting point.
> >
> > Could we have some more information about your application?
> > (language, sources, framework, goal?)
> >
> > Thanks,
> > Pierre
> > --
> > devel mailing list
> > devel@lists.fedoraproject.org
> > https://admin.fedoraproject.org/mailman/listinfo/devel
> > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>

Hi Malintha,

The media-wiki auth [0] and wordpress auth plugin for FAS [1] will help you
to get in to the track. Those things were written in PHP too. You can write
the fas-auth as Codeigniter auth plugin.

--

[0] -
https://git.fedorahosted.org/cgit/fedora-infrastructure.git/tree/scripts/Auth_FAS_MediaWiki/Auth_FAS.php?id=ba6349c6aee8e2ee588cfe358aca49e85a8fb3f0
[1] -
https://git.fedorahosted.org/cgit/fedora-infrastructure.git/tree/plugins/wordpress-mu-plugin-fasauth/fasauth.php?id=ba6349c6aee8e2ee588cfe358aca49e85a8fb3f0
-- 
- UD -
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct