Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play Framework 1.x with OpenID Connect #1445

Open
clim opened this issue Jul 7, 2023 · 4 comments
Open

Play Framework 1.x with OpenID Connect #1445

clim opened this issue Jul 7, 2023 · 4 comments

Comments

@clim
Copy link

clim commented Jul 7, 2023

Reaching out to inquire for any API resources for version 1.x that integrates with OpenID Connect.

I know that there are existing libraries for OAuth and OpenID. However, these are not compatible with OpenID Connect. Does anyone know and can point me to the right direction on integrating OpenID Connect with Play 1.x please.

@xabolcs
Copy link
Contributor

xabolcs commented Jul 8, 2023

In my Play! application I implemented OpenID Connect in a hacky way.
It is not yet polished, so I didn't upstream it yet, but it works nicely.

Are you interested?

@clim
Copy link
Author

clim commented Jul 9, 2023

@xabolcs Yes please :)

@xabolcs
Copy link
Contributor

xabolcs commented Jul 9, 2023

Hi @clim ,
check PR openseedbox/openseedbox#87 !

My implementation's main parts are the "libs" which extends the OAuth2 class and the "controllers" part which implements the workflow (redirects, verifying, ...).

There are lot of commits in my PR as I wanted to separate and group the changes to help understanding.
As I worte earlier, it's working nicely in prduction. Currently implemented providers are KeyCloak, Google and GitHub but adding new providers should be easy now.

Please feel free to join to that PR and ask for the details!

@clim
Copy link
Author

clim commented Jul 9, 2023

@xabolcs Thanks a lot! I'll check on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants