Kepler icon indicating copy to clipboard operation
Kepler copied to clipboard

Callback URL for Oauth

Open weidi opened this issue 4 years ago • 11 comments

Hey guys, found your project and it seems it´s exaclty what i needed to start a project I have in mind. One thing i was unable to find the OAuth callback URL to configure authentication providers. Am i missing something from the documentation?

weidi avatar Sep 06 '21 19:09 weidi

hi in fact it is not something documented in the Kepler project because you should find documentation of this in MetorJs: https://docs.meteor.com/packages/oauth-encryption.html

anyway these are the back urls used in the official demo, you should i think just replace your domain image

stefanocudini avatar Oct 26 '21 10:10 stefanocudini

I advise you to make you own instance of kepler I to use the new official docker image: https://github.com/Keplerjs/Keplerjs-Docker

stefanocudini avatar Oct 26 '21 10:10 stefanocudini

@weidi if you think it can be better indicated in the documentation I ask you if you can give a small contribution of a few lines, the same documentation is under an open source license here: https://github.com/Keplerjs/docs/blob/master/docs/settings.md

so I can insert you among the contributors of project

stefanocudini avatar Oct 26 '21 10:10 stefanocudini

I advise you to make you own instance of kepler I to use the new official docker image: https://github.com/Keplerjs/Keplerjs-Docker

Already using the new version, update worked flawless

weidi avatar Oct 26 '21 17:10 weidi

@weidi if you think it can be better indicated in the documentation I ask you if you can give a small contribution of a few lines, the same documentation is under an open source license here: https://github.com/Keplerjs/docs/blob/master/docs/settings.md

so I can insert you among the contributors of project

I just tried to get google and github oauth to work and from what i understand it should be enough to configure the .env and populate ClientID and Secret but i keep receiving image I woudl expect to break things when using ServiceConfiguration or google-config-ui?

weidi avatar Oct 26 '21 19:10 weidi

you need to fil this fields: https://github.com/Keplerjs/Kepler/blob/75a0416c04d0a2bff6a790c095f4afc83802c691/private/settings.sample.json#L93

or for diable google oauth se to false: https://github.com/Keplerjs/Kepler/blob/75a0416c04d0a2bff6a790c095f4afc83802c691/packages/core/config/Accounts.js#L34

like this minimal kepler configuration without oauth services: https://github.com/Keplerjs/Kepler/blob/master/private/settings.light-ui.json#L164

stefanocudini avatar Nov 01 '21 18:11 stefanocudini

This is what i did and it works from what i see as the environment variables inside the container are set correctly. image

weidi avatar Nov 01 '21 19:11 weidi

This is what i did and it works from what i see as the environment variables inside the container are set correctly. image

yes it's correct!

stefanocudini avatar Jan 28 '22 13:01 stefanocudini

This is what i did and it works from what i see as the environment variables inside the container are set correctly. image

yes it's correct!

My comment was a bit misleading, i did these settings but they are not reflected in the UI, so no oAuth possible.

weidi avatar Jan 29 '22 19:01 weidi

@weidi unfortunately I noticed that the packages used for oauth are actually broken ... I think due to the changes of the Ouauth api of the third party services, fb, twitter etc

stefanocudini avatar Aug 24 '22 14:08 stefanocudini

@weidi if you are interested in being part of the keplerjs organization I can place you among the members. I see that you are a curious user to how it works, maybe this can be an opportunity to try to make some changes to the code

stefanocudini avatar Aug 24 '22 14:08 stefanocudini