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

2001pull #1057

Open
wants to merge 216 commits into
base: io2016
Choose a base branch
from
Open

2001pull #1057

wants to merge 216 commits into from

Conversation

DawallAZllon91
Copy link

@DawallAZllon91 DawallAZllon91 commented Apr 22, 2024

Checklist

  • I read the Contribution Guidelines
  • I signed the CLA and WG Agreements
  • I ran, updated and added unit tests as necessary.
  • I verified the contribution matches existing coding style.
  • I updated the documentation if necessary.

Motivation and Context

Description

Rebecka Gulliksson and others added 30 commits May 31, 2016 17:28
Add note about gradle check target in contribution guidelines.
Signed-off-by: Mohamed Ezzat <mohamed.ezzat@devfactory.com>
…-improvements-fix-1

Multiple quality improvements
…tion.fromJson().

Fixes openid#88: since the registration endpoint is not required by the spec,
it might not be set when trying to deserialize a serialized
representation.
Whether we have a refresh token or not is irrelevant for determining
if the access token is valid. The case where the access token has
expired and we have no refresh token is already signalled as an error
 to the callback in performActionWithFreshTokens.
Fix for issue openid#88: handle missing registration endpoint
The gradle build files were getting pretty ugly, so this CL breaks
them up into manageable, reusable chunks. While doing this,
tool and library dependencies have been updated to the latest
versions, enabling the use of vector drawables (to get rid of the
various DPI versions of the icons used in the demo app). Finally,
I switched from Picasso to Glide, which is the current
recommended image loader library within Google.
Dependency updates, gradle file cleanup and vector drawables
them up into manageable, reusable chunks. While doing this,
tool and library dependencies have been updated to the latest
versions, enabling the use of vector drawables (to get rid of the
various DPI versions of the icons used in the demo app). Finally,
I switched from Picasso to Glide, which is the current
recommended image loader library within Google.
Disregard refresh token when deciding if access token is still fresh.
if the access token is valid. The case where the access token has
expired and we have no refresh token is already signalled as an error
 to the callback in performActionWithFreshTokens.
Disable old library version checks; we periodically update these manually.
Also fixes showVersion build rule
The guidelines for using robolectric have changed; by replacing
RobolectricGradleTestRunner with RobolectricTestRunner, all tests
now pass again.
This change fixes issues openid#106, openid#104 and openid#102.

activity via an Intent with using SINGLE_TOP | CLEAR_TOP, we
can dispose of the browser tab without using the NO_HISTORY flag.
The browser flow will survive the user switching tasks, and
will not appear in the back stack after the authorization flow
completes.

as instance state on the activity. If the activity is completely
killed under memory pressure during the authorization flow,
everything should still work as intended once the application's
activities are restored. This removes the need for
PendingIntentStore, which was using a static map to store this
information previously.

when this is resumed without receiving the redirect from the
authorization flow in the browser. This is a signal that the
user canceled the flow by pressing the back button or closing
the tab. Based on this, we can fire a different PendingIntent
to indicate the flow was canceled.

The changes *should* be backwards compatible. We have also
simplified the configuration of the redirect URI receiver
activity, using a manifest merge attribute set in the build
file.
Support for login_hint parameter
Use an intermediary activity to manage the authorization flow
Failing to check the state was a regression introduced by the
change from using a static store of requests to the
AuthorizationManagementActivity - this is now corrected, with
tests added.
This gives apps more control over the browsers that can be used
for the authorization flow. Fixes openid#116, openid#114, openid#113.
This allows a number of use cases:
- Disabling HTTPS checks for debug environments
- Configuring certificate pinning
- Using a different HTTP stack, such as okhttp or cronet

Fixes openid#115.
This change adds the ability to explicitly choose the browser to
use in the demo app, making it easier to test the authorization
flow against specific browsers. This uncovered an issue in
AuthorizationManagementActivity when using a standalone browser:

- launchMode=singleTask is required to ensure that the
  correct activity instance is reached. This also has the side
  effect that only one browser-based interaction can happen at
  a time, but this is a reasonable assumption for the library
  to make.

- Failing to find stored state for handling a redirect no longer
  causes an IllegalStateException, and instead simply finishes
  the management activity. This can happen where the user switches
  back and forth between the app and browser, resulting in the
  flow being cancelled and then resumed after the state is lost.
agologan and others added 27 commits August 13, 2021 15:17
Fix auth_config file path in LoginActivity comment [skip ci]
…enid#769)

On Android 12 onResume is called before onNewIntent on configChanges breaking
the authentication flow which ends up in user cancellation.
@@ -0,0 +1,9 @@
root = true

Choose a reason for hiding this comment

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

+root = false

Copy link

@fabio3dfx fabio3dfx left a comment

Choose a reason for hiding this comment

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

Não dei autorização para ser hakeado por nenhum de meus dispositivos nem e-mails, por favor revisar essas intrusões sem autorização.

@@ -0,0 +1,24 @@
---

Choose a reason for hiding this comment

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

Eu estou sendo vigiado por um usuário? Não dei autorização pra tal evento.

Copy link

@fabio3dfx fabio3dfx left a comment

Choose a reason for hiding this comment

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

Por favor me ajudem a ficar livre desse incomodo de ser vigiado e ter suas contas modificadas por um estranho, não consigo mais trabalhar nem dormir direito, até sonhando com isso eu estou. É um verdadeiro inferno.

[*.{java,xml,gradle,md}]
charset = utf-8
indent_style = space
indent_size = 4

Choose a reason for hiding this comment

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

Suggested change
indent_size = 4
indent_size = 0

indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true

Choose a reason for hiding this comment

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

Suggested change
insert_final_newline = true
insert_final_newline = false


[*.{java,xml,gradle,md}]
charset = utf-8
indent_style = space

Choose a reason for hiding this comment

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

Suggested change
indent_style = space
indent_style = none

[*.{java,xml,gradle,md}]
charset = utf-8
indent_style = space
indent_size = 4

Choose a reason for hiding this comment

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

Suggested change
indent_size = 4
indent_size = 0

indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true

Choose a reason for hiding this comment

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

Suggested change
insert_final_newline = true
insert_final_newline = false

@@ -0,0 +1,20 @@
---
name: 🚀 Feature Request

Choose a reason for hiding this comment

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

Suggested change
name: 🚀 Feature Request
name: 🚀 none

@@ -0,0 +1,15 @@
---
name: ❓ Ask a Question
about: Ask the community for help

Choose a reason for hiding this comment

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

Suggested change
about: Ask the community for help
about: go to the hell

@@ -0,0 +1,15 @@
---
name: ❓ Ask a Question
about: Ask the community for help

Choose a reason for hiding this comment

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

Gostaria de ficar livre desse incomodo, não quero ser vigiado.

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

Successfully merging this pull request may close these issues.

None yet