Persona Login Plugin


(Mike Linksvayer) #10

I removed the line at the end about needing to recompile assets after installation – ./launcher rebuild app did this for me.


(Raphaël Jadot) #11

Hello, I installed Persona plugin with Discourse 1.3.0.beta4 (I did not intend to install beta release, it’s my first install, I certainly missed something)

When I login with persona, the account is said as validated by Persona pop-up but nothing happens, no connection, I stay on login page.

Is this because of the beta status of my instance of Discourse, or is there an issue with Persona plugin?

I don’t know how to troubleshoot…

Thanks for any help :slight_smile:


(Sam Saffron) #12

@radq let me know if this is still supported and working, in absence of a reply this will be closed as an unsupported plugin in the next 72 hours.


(Nukeador) #13

Emmm, isn’t that a super strict policy to mark a plugin as unsupported (1 report and 72h to reply). Anyone can report a plugin as not working and the author maybe can’t check their notifications in a few days, or maybe he’s on vacations :wink:

BTW, the Persona plugin works perfectly here with beta.


(Sam Saffron) #14

people have been having a reasonable amount of issues with various plugins lately, we need a stricter means of flagging what is supported and what is not.

Also, persona is kind of abandoned at this point.


(Jeff Atwood) #15

Yeah this is more about persona being weakly supported in general than anything else.


(Vikhyat Korrapati) #16

works with discourse master on my dev machine.


(Raphaël Jadot) #17

@radq I don’t doubt it :smile:
On a fresh install of mine, you can see here the behaviour https://discourse.openmandriva.org/

BTW the discourse instance is on a local machine behind an nginx reverse proxy which is reachable from the internet, should I change something with the nginx conf, maybe?


(Florian Bender) #18

If you mean that it will not work some time in the future, then no, it’s not abandoned. There are no plans to shut the service down. There is however no longer Mozilla-sponsored work being done on Persona (except emergency stuff, of course), just volunteers and staff in their extra time.


(Raphaël Jadot) #19

Since discourse 1.4 the plugin is working.

Only weird thing is that the picture doesn’t display correctly:


(Jeff Atwood) #20

Right, that’s based on the glyph appearing in Font Awesome, and I don’t think Persona has a glyph.


(Raphaël Jadot) #21

Generally Mozilla uses something close to this one
http://fortawesome.github.io/Font-Awesome/icon/user/
Loomio uses one close to this one
http://fortawesome.github.io/Font-Awesome/icon/envelope/

I’d gladly made a pull request but don’t know yet how to find the related character…

In fact, better use no glyphs at all than “]” and remove

.btn-social.persona:before {
  content: "]";
}

(Leo McArdle) #22

For use on https://discourse.webmaker.org/ I CSSed in an image on discourse-persona-mozillians to produce:

I was initially reluctant to push this upstream (and then forgot) because I’m not sure how kosher it is, particularly because we’re serving the image off our own CDN: (there is a slight delay after the popup opens before the icon appears)

I’m gonna experiment with embedding the image inline as an svg in the css, and if that works, submit a pull request upstream. :smile:


(Leo McArdle) #23

Using an inline svg background seems to have worked perfectly. @radq have you had an opportunity to look at my PR?


(Nukeador) #24

Hi,

With the update to 1.5.0.beta7 the plugin stopped showing the login button but the plugin seems to be enabled on the admin panel


(Mittineague) #25

My guess is the plugin code needs to be changed because of Deprecating ES6 compatibility layer

I don’t know if @radq is still around to look into the problem.


(cpradio) #26

I submitted a PR to fix it.

If you need it immediately, you can update your app.yml to point to https://github.com/cpradio/discourse-persona.git


(Nukeador) #27

I see the PR was merged, updated and working, thanks!


(Mike Linksvayer) #28

Shutting down persona.org in November 2016

https://mail.mozilla.org/pipermail/persona-notices/2016/000005.html

https://.ycombinator.com/item?id=10884893

Is there anything Discourse instances using this plugin need to do before then to ensure a smooth transition for users to user/password or other social login? If a user has only ever logged in via Persona, is that a special case at all?


(Sam Saffron) #29

We always expect a working email address, you can always “forget your password” and reset it.