I built a component to support OAuth sign in. It lets you configure your OAuth client details and adds a login button to the login form. In my case I needed it for WordPress but you can change the button to be whatever you want (plugins/default/oauth/login.php).
Check out the repo here https://github.com/HadenHiles/OSSN-OAuth-Login
Hello! Iam using this code to make my own for google. I have done everything well and it redirects well but its giving me this error: Error 400: invalid_request
Missing required parameter: scope
Please can you assist me with telling me where i can add scope?
Is ther any componenet in which we can configure a custom SSO via SAML? How I should do this?
This is an amazing idea and great job! I hope some additional work goes into making this a component uploaded here with some configurable options from the Administrator settings page.
Yes you should be able to clone the repo if you think you'll need to make any adjustments. If not then you should be able to just directly download it as a zip and upload through the installer in OSSN :)
I had a quick look at the GitHub site and I think it's an OIDC client, which is exactly what I want. I've been playing around with an OIDC provider so I'll check this out. Do I clone the site, zip it up and upload it to my OSSN site?
I haven't tested for OpenID because the WordPress plugin didn't support that in the free version but it should work as long as you're using basic authentication and grant type of "authentication code". The code could easily be updated to support a different grant type such as client credentials you would just need to update the curl request. I went with the most common and simple option for now.