Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] auth_oidc: Migration to 17.0
Browse files Browse the repository at this point in the history
ap-wtioit committed Feb 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 3027e61 commit 3f8e757
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion auth_oidc/__manifest__.py
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@

{
"name": "Authentication OpenID Connect",
"version": "16.0.1.0.2",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"author": (
"ICTSTUDIO, André Schenkels, "
2 changes: 1 addition & 1 deletion auth_oidc/controllers/main.py
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@

class OpenIDLogin(OAuthLogin):
def list_providers(self):
providers = super(OpenIDLogin, self).list_providers()
providers = super().list_providers()
for provider in providers:
flow = provider.get("flow")
if flow in ("id_token", "id_token_code"):
2 changes: 1 addition & 1 deletion auth_oidc/models/res_users.py
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ def auth_oauth(self, provider, params):
oauth_provider, params
)
else:
return super(ResUsers, self).auth_oauth(provider, params)
return super().auth_oauth(provider, params)
if not access_token:
_logger.error("No access_token in response.")
raise AccessDenied()
1 change: 0 additions & 1 deletion auth_oidc/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

0 comments on commit 3f8e757

Please sign in to comment.