Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback URL for Oauth #93

Open
weidi opened this issue Sep 6, 2021 · 11 comments
Open

Callback URL for Oauth #93

weidi opened this issue Sep 6, 2021 · 11 comments

Comments

@weidi
Copy link
Contributor

weidi commented Sep 6, 2021

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?

@stefanocudini
Copy link
Member

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
Copy link
Member

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
Copy link
Member

@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

@weidi
Copy link
Contributor Author

weidi commented Oct 26, 2021

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
Copy link
Contributor Author

weidi commented Oct 26, 2021

@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?

@stefanocudini
Copy link
Member

stefanocudini commented Nov 1, 2021

you need to fil this fields:

or for diable google oauth se to false:

if(conf.service) {

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

@weidi
Copy link
Contributor Author

weidi commented Nov 1, 2021

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

@stefanocudini
Copy link
Member

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!

@weidi
Copy link
Contributor Author

weidi commented Jan 29, 2022

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.

@stefanocudini
Copy link
Member

@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
Copy link
Member

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants