mirror of
https://github.com/wekan/wekan.git
synced 2026-01-26 03:06:09 +01:00
wip redirect on landing page and logout to oidc provider
This commit is contained in:
parent
b97c51abde
commit
2e354f9b1e
7 changed files with 92 additions and 15 deletions
|
|
@ -7,11 +7,14 @@ if (Meteor.isClient) {
|
|||
callback = options;
|
||||
options = null;
|
||||
}
|
||||
|
||||
console.log(options.loginStyle);
|
||||
console.log(callback);
|
||||
var credentialRequestCompleteCallback = Accounts.oauth.credentialRequestCompleteHandler(callback);
|
||||
console.log("credentialCallback",credentialRequestCompleteCallback);
|
||||
Oidc.requestCredential(options, credentialRequestCompleteCallback);
|
||||
};
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
Accounts.addAutopublishFields({
|
||||
// not sure whether the OIDC api can be used from the browser,
|
||||
// thus not sure if we should be sending access tokens; but we do it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue