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

Fix OpenBao OIDC followed by Google OIDC not working on Android #185

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

siepkes
Copy link
Contributor

@siepkes siepkes commented Mar 7, 2024

This fixes the issue when having an Android app authenticate with the OpenBoa OIDC identity provider and having OpenBao in turn authenticate the user with Google OIDC the redirect back to the Android app from OpenBao doesn't work. So after logging in with Google you get correctly redirected to OpenBao but then OpenBAO doesn't redirect back to the app. Chrome (104) on Android would show the logo loading animation forever.

This code was originally developed by @prajnamohan1 while working at Service Planet Rotterdam B.V.. I, Jasper Siepkes, in my capacity of IT Manager at Service Planet Rotterdam B.V. herby grant permission to use this code under the MPL-2.0 license.

Resolves: #184

Copy link
Member

@cipherboy cipherboy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks very useful, many thanks for the contribution @siepkes and @prajnamohan1!

I do not have an Android app handy to test with, but the code looks straightforward and makes sense to me.

@naphelps naphelps self-requested a review March 7, 2024 15:41
This fixes the issue when having an Android app authenticate with the
OpenBoa OIDC identity provider and having OpenBao in turn authenticate
the user with Google OIDC the redirect back to the Android app from
OpenBao doesn't work. So after logging in with Google you get correctly
redirected to OpenBao but then OpenBAO doesn't redirect back to the app.
Chrome (104) on Android would show the logo loading animation forever.

This code was originally developed by @prajnamohan1 while working at
Service Planet Rotterdam B.V.. I, Jasper Siepkes, in my capacity of
IT Manager at Service Planet Rotterdam B.V. herby grant permission to
use this code under the MPL-2.0 license.

Resolves: openbao#184
Signed-off-by: Jasper Siepkes <siepkes@serviceplanet.nl>
@naphelps naphelps merged commit 986d7fb into openbao:main Mar 7, 2024
34 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants