Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Issue #19300 tweak schema to support JWT public cert storage.

  • Loading branch information...
commit 0418afdb07653427f61abe5cb52ce292a5899122 1 parent ee41c90
@bendiy bendiy authored
View
11 node-datasource/database/orm/models/oauth2.json
@@ -109,17 +109,10 @@
}
},
{
- "name": "clientX509CertURL",
+ "name": "clientX509PubCert",
"attr": {
"type": "String",
- "column": "oa2client_client_x509_cert_url"
- }
- },
- {
- "name": "authProviderX509CertURL",
- "attr": {
- "type": "String",
- "column": "oa2client_auth_provider_x509_cert_url"
+ "column": "oa2client_client_x509_pub_cert"
}
}
],
View
3  node-datasource/database/source/xt/tables/oa2client.sql
@@ -14,7 +14,6 @@ select xt.add_column('oa2client','oa2client_issued', 'timestamp', '', 'xt', 'The
select xt.add_column('oa2client','oa2client_auth_uri', 'text', '', 'xt', 'The Authorization Endpoint URI.');
select xt.add_column('oa2client','oa2client_token_uri', 'text', '', 'xt', 'The Token Endpoint URI.');
select xt.add_column('oa2client','oa2client_delegated_access', 'boolean', '', 'xt', 'Flag to allow "service_account" client to use delegated access as another user.');
-select xt.add_column('oa2client','oa2client_client_x509_cert_url', '', 'text', 'xt', 'The URL of the public x509 certificate, used to verify JWTs signed by the client.');
-select xt.add_column('oa2client','oa2client_auth_provider_x509_cert_url', 'text', '', 'xt', 'The URL of the public x509 certificate, used to verify the signature on JWTs, such as ID tokens, signed by the authentication provider.');
+select xt.add_column('oa2client','oa2client_client_x509_pub_cert', '', 'text', 'xt', 'The public x509 certificate, used to verify JWTs signed by the client.');
comment on table xt.oa2client is 'Defines global OAuth 2.0 server registered client storage.';
Please sign in to comment.
Something went wrong with that request. Please try again.