Go to file
Carlos Ruiz 5f2d71347d
IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#593)
* IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system)

WIP - initial version working on zk with google apps mail using OAuth2 Authorization Code Flow and Client Type = web application

* Enable imap reading with OAuth2 in RequestEMailProcessor
* Simplify the code - tested plain and OAuth2 can use the same methods
* Add +SCOPE parameter to AddAuthorizationForm according to IDEMPIERE-4713
* Rename the form AddAuthorizationMailForm to AddAuthorizationForm as is now more generic

* IDEMPIERE-4713
* Rename migration scripts to make it newer than IDEMPIERE-4713
* Add list of scopes attended by a credential
* Change form to accept other scopes, if no scope parameter is passed, then a list is shown, change the menu to fix the EMail scope
* Add MAuthorizationAccount.refreshAndGetAccessToken
* Add translation for messages

* make call generic oauth, avoid using specific google API

* Tests with microsoft as OAuth2 provider
* Add record for microsoft as provider
* Increase size of tokens
* Define mandatory and secure columns
* Update refresh token when it comes on the refresh call
* Revoke endpoint is optional

* Change the approach to a process instead of a form (WIP)
* Implement servlet to process the OAuth2 code

* Solve context suggestion from hengsin

* Implement the form in an automatic popup approach for running on zkwebui

* i18n - add translations for all messages that are shown to user
* on the form opted for click to avoid the problem with browsers forbidding popups
* clean spaces and tabs on line endings

* avoid logging and copy of the secure columns

* Fix problem reported by @d-ruiz about hidden NPE when SMTP Authentication is disabled

* Add writing to AD_PInstance_Para and AD_PInstance_Log the results of processing the servlet
* Control to avoid using the same authorization URL twice
2021-03-06 11:49:39 +01:00
.github IDEMPIERE-4360 exclude generate and test code to speed up (#440) 2020-12-06 16:50:14 +01:00
db IDEMPIERE-4579 Function altercolumn fails when a role name has a dash (#429) 2020-12-02 15:34:25 +01:00
doc IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
event.test IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
lib IDEMPIERE-2910:update.sh run with issue 2015-11-10 17:07:12 +07:00
migration IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#593) 2021-03-06 11:49:39 +01:00
migration-historic IDEMPIERE-3655 Improve installer to include migration scripts and syncApplied / move old migration folders to migration-historic - just keep the folders > i4.1 in migration 2018-03-14 18:14:09 -03:00
org.adempiere.base IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#593) 2021-03-06 11:49:39 +01:00
org.adempiere.base-feature IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#593) 2021-03-06 11:49:39 +01:00
org.adempiere.base.callout IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.adempiere.base.process IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#593) 2021-03-06 11:49:39 +01:00
org.adempiere.eclipse.equinox.http.servlet IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.adempiere.install IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#593) 2021-03-06 11:49:39 +01:00
org.adempiere.payment.processor IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.adempiere.payment.processor-feature IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
org.adempiere.pipo IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.adempiere.pipo-feature IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
org.adempiere.pipo.handlers IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.adempiere.plugin.utils IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.adempiere.replication IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.adempiere.replication-feature IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
org.adempiere.replication.server IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.adempiere.replication.server-feature IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
org.adempiere.report.jasper IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.adempiere.report.jasper-feature IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
org.adempiere.report.jasper.library IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.adempiere.server IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#593) 2021-03-06 11:49:39 +01:00
org.adempiere.server-feature IDEMPIERE-4722 Remove constraint that idempiere source folder must be… (#606) 2021-03-02 20:51:20 +08:00
org.adempiere.ui IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.adempiere.ui.zk IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#593) 2021-03-06 11:49:39 +01:00
org.adempiere.ui.zk-feature IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
org.apache.ecs IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.compiere.db.oracle.provider IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.compiere.db.postgresql.provider IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.compiere.db.provider-feature IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
org.idempiere.eclipse.platform-feature IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
org.idempiere.equinox.p2.director-feature IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
org.idempiere.felix.webconsole IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.idempiere.felix.webconsole-feature IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
org.idempiere.hazelcast.service IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.idempiere.hazelcast.service-feature IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
org.idempiere.javadoc IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.idempiere.maven.to.p2 IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.idempiere.p2 IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
org.idempiere.p2.targetplatform IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.idempiere.parent IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.idempiere.test IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.idempiere.test-feature IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
org.idempiere.webservices IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
org.idempiere.webservices-feature IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
org.idempiere.webservices.client-feature IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
org.idempiere.zk-feature IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
org.idempiere.zk.extra IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
utils_dev IDEMPIERE-4719 Create Oomph project setup model (#610) 2021-03-05 10:45:14 +01:00
.gitignore IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md 2019-12-12 19:55:19 +01:00
CONTRIBUTING.md Create How to contribute file 2019-12-12 18:10:10 +01:00
Credits.html IDEMPIERE-4580 Change logo source by contributor request (#485) 2020-12-24 13:50:57 +01:00
LICENSE.md Create LICENSE.md 2019-12-12 18:43:04 +01:00
README.md Update README.md 2019-12-12 20:03:58 +01:00
RUN_SyncDBDev.sh IDEMPIERE-4602 Encrypt passwords on properties files (FHCA-1982) (#498) 2021-01-03 22:19:49 +08:00
SECURITY.md IDEMPIERE-4604 Release 8.2 2020-12-20 09:25:13 +01:00
adempiere-local-template.properties added adempiere properties file template 2010-07-20 13:48:24 +08:00
license.html revert revision 12048 as stated on release meeting 2010-06-13 23:46:21 +00:00
note.for.update.readme IDEMPIERE-3531: note 2018-09-12 00:55:12 +07:00
pom.xml IDEMPIERE-4718 Import Existing Maven Projects doesn't import the org.idempiere.p2.targetplatform project (#605) 2021-03-02 20:40:04 +08:00
testTemplate.properties Fix notation of template file 2010-03-26 18:28:42 +00:00
zk.xml IDEMPIERE-3552:update to zk 8.5.0 2017-11-17 02:42:14 +07:00

README.md

iDempiere. Community Powered Enterprise

iDempiere Business Suite ERP/CRM/SCM done the community way. Focus is on the Community that includes Subject Matter Specialists, Implementors and End-Users.

Please visit the project front page containing links for most of our resources: https://www.idempiere.org/

You can have a first-hand experience about the software in one of our live cloud test sites: https://www.idempiere.org/test-sites

If you want to install it by yourself, the most used way is to follow the guide: https://wiki.idempiere.org/en/Installing_iDempiere

In case of doubts please use our support forums at http://groups.google.com/group/idempiere
Or our Mattermost support channel in https://mattermost.idempiere.org/
Don't forget to check our code of conduct and our contribution guide

If you find a bug or want to register a feature request please consider discussing it first in our forums, and after you're totally sure, please use the JIRA ticketing system: https://idempiere.atlassian.net

Continuous integration when changing this repository is managed with Jenkins at http://ci.idempiere.org/