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

NPE in device code flow #1087

Closed
jgomer2001 opened this issue Mar 21, 2022 · 1 comment
Closed

NPE in device code flow #1087

jgomer2001 opened this issue Mar 21, 2022 · 1 comment
Assignees
Labels
comp-jans-auth-server Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality needs-triage Issue or PR yet to be triaged. Add more labels or details that will help during triage review.

Comments

@jgomer2001
Copy link
Contributor

jgomer2001 commented Mar 21, 2022

In Jans server (installation dating Mar 18th) an NPE is thrown (see log attached).

Steps to reproduce:

  • In a different host install jans-cli, steps here
  • Run `python3 config-cli.pyz --host "your.jans.host" --client-id "Jans role based client" --client_secret "..."
  • Make a query, eg. custom script by inum

The following appears in the console:

Access token was not found.
Please visit verification url https://your.jans.host/device-code and enter user code ... in 1800 secods

After typing code in the browser, it is redirected to /jans-auth/error_service.htm

jans-auth.log

@jgomer2001 jgomer2001 added kind-bug Issue or PR is a bug in existing functionality comp-jans-auth-server Component affected by issue or PR needs-triage Issue or PR yet to be triaged. Add more labels or details that will help during triage review. labels Mar 21, 2022
@yuriyz yuriyz self-assigned this Mar 21, 2022
@yuriyz
Copy link
Contributor

yuriyz commented Mar 23, 2022

NPE in AS is fixed.

@yuriyz yuriyz closed this as completed Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-auth-server Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality needs-triage Issue or PR yet to be triaged. Add more labels or details that will help during triage review.
Projects
None yet
Development

No branches or pull requests

2 participants