The job here is to set up Intuit and Xero authenticaiton in Discourse. The job price is $400 USD. The client is Profile - nevscope - Discourse Meta. He’ll handle payment and access to this site when the logins are ready. You can test on your local, or on https://test.thepavilion.io.
The most likely avenue for quick success here is via the OIDC Plugin.
I’ve already investigated Xero a little. It’s not possible to handle Xero OAuth2 via the default configuration of the OAuth2 Basic plugin as the response that Xero returns from the token endpoint is encoded and the OAuth2 Basic plugin doesn’t have in-built facility to decode tokens into params. It should be possible to handle it via the off-the-shelf openid-connect plugin. you should:
- Attempt Xero first. Their developer center is here (to register the Xero app)
- You’ll need this: https://identity.xero.com/.well-known/openid-configuration
- Turn on verbose logs
If that doesn’t work for some reason, implimenting a custom OAuth2 configuration is not too hard, given Discourse’s Authentication setup and it’s use of Omniauth. If you reach this point let me know and I’ll show you how to do it.
Knowledge about “identity” integrations is useful. There’s a fair bit of work in this area and Pavilion will be looking to move into this area on larger project-managed jobs as well. I’d like to get a sense of who has an identity skillset to bring them into those kind of jobs as they arise. I recently brought @merefield into a largish ongoing identity project for instance.
Also, it’d be great if we could build up some knowledge base resources on provider-specific identity implementions for Discourse (probably mostly using the off the shelf plugins). If you’d like to add that “open source” component to the work, I’d be happy to help you with that.