wirtzdan RSA
signatures aren't supported at the moment, only HMAC
/SHA
ones. You can either check if you can change it or use my OpenID Connect extension (it seems your Auth provider supports it, but maybe you have to contact them to know the URLs of the required endpoints)
PHP and WordPress Single Sign On (SSO) with optional JWT Addon
maicol07 hi, I know I am being annoying , I am running on flarum 1.0.4,
when I activate "remove login button" in SSO, flarum login button (top right) disappears & "New discussion" opens login pop-up, aka my problem
when I de-activate "remove login button" in SSO, flarum login buttion (top right) is visible & "New discussion" redirects to specified url (does not open flarum login pop-up).
Hi! I'm currently extending Flarum and using your extension in the process. I think it's perfect for what I want to do!
I ran into a little roadblock though. Just like how you would send "groups" data as an addon from Group::class
, I'm thinking of sending masquerade
content through an API endpoint too.
Is there a way to add an endpoint to your Flarum API Client? Such as
$this->flarum->api->masquerade()->request()->collect()->all()
?
Digitalam you should add your masquerade endpoint in this array: https://github.com/maicol07/flarum-api-client/blob/40c5b4372229878ee66231ee742309a996d6adc3/src/Fluent.php#L33
If you want IDE autocompletion you have to add the method to the class comment
Ooh I see, so just checking, I have to extend your extension by adding masquerade into the $types
array in Fluent.php
?
I was wondering if there is a way to do it without messing with your source code
@maicol07 do you know whether I would encounter any issues with authentication if I were to manually change the username of an account (both in Flarum and WordPress)? I have a few users who have registered on WordPress and utilized their email as username. I would prefer to change those so that they don't expose their email in the forums when mentioned. Thanks for any insights into this or considerations I should take!
- Edited
edit: how can the user be able to edit flarum user name at flarum itself?
Hari the correct behaviour is the second one: this extension redirects the user directly to the login page and the plugin from your auth system can redirect the user to Flarum, if you choose to do it (you have to implement the plugin and the redirect in your code, if you haven't done it already (only for PHP, not WordPress. WP plugin has an option in settings to redirect users to Flarum after the login)).
When a user signs up on WP the plugin automatically creates the Flarum user with their data. So the WP username must match the user's first name. If you want to set the display name (from flarum/nicknames
extension) the value selected will be WP display name
lubos-h I've managed to reproduce the error and I'm working on a fix.
1.10.2 - Flarum extension
Released on August 09, 2021
Features (dev)
fd9bc60
Added Typescript config to get Flarum typing definitions
8b70076
code_tools:Added Prettier instead of ESLint
Performance Improvements
6fbd7f9
Better frontend settings helper
Bug Fixes
3e24b49
New Discussion button opening the Login modal (thank you lubos-h for the report)- Also did some major refactor
f9cb9f4
Wrong app namespace
Code Refactoring
CI changes
3233f94
Trigger changelog workflow when JS build has finishedf244d0f
Updated build actionb8e32e2
Added Flarum Bot to automatically compile JS
646203c
Added conditional commit messages to changelog action
086bdea
Updated changelog generation