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

Bad authorization host resolution when in external server? #7

Open
josejuanmartinez opened this issue Oct 18, 2022 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@josejuanmartinez
Copy link
Contributor

I am running jsl.install() from a server, I get this url for authorization:

Please confirm authorization on : https://my.johnsnowlabs.com/oauth/authorize/?client_id=sI4MKSmLHOX2Pg7XhM3McJS2oyKG5PHcp0BlANEW&response_type=code&code_challenge_method=S256&code_challenge=xO2AqZHMfEpvfN8tveEd9s21UmZv_Sm7SWFd9NLZCpQ&redirect_uri=http%3A%2F%2Flocalhost%3A46089%2Flogin

But, the redirect_uri is http://localhost...

When I get authorized, it shows me evidently this:
image

@C-K-Loan
Copy link
Member

@josejuanmartinez the pop up /browser login only works when running on your own machine.
It's essen
Server-based approaches are currently not supported unless, with google Colab beeing the exception.

But lets keep this on the todo list for the future and leave th is issue open

@C-K-Loan C-K-Loan added the enhancement New feature or request label Oct 19, 2022
@C-K-Loan C-K-Loan self-assigned this Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants